Class AbstractDialogMultiColTable

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogMultiColTable
All Implemented Interfaces:
StandardStrings, org.eclipse.jface.window.IShellProvider, org.eclipse.swt.widgets.Listener
Direct Known Subclasses:
AddCapabilityFeatureDialog, AddCapabilityTypeDialog

public abstract class AbstractDialogMultiColTable extends AbstractDialog
The Class AbstractDialogMultiColTable.
  • Field Details

    • UNCHECKED

      protected static final String UNCHECKED
      The Constant UNCHECKED.
      See Also:
    • enableCol1

      protected boolean enableCol1
      The enable col 1.
    • enableCol2

      protected boolean enableCol2
      The enable col 2.
    • numberChecked

      protected int numberChecked
      The number checked.
  • Constructor Details

    • AbstractDialogMultiColTable

      protected AbstractDialogMultiColTable(AbstractSection aSection, String title, String description)
      Instantiates a new abstract dialog multi col table.
      Parameters:
      aSection - the a section
      title - the title
      description - the description
  • Method Details

    • checkedIndicator

      protected String checkedIndicator(int col)
      Checked indicator.
      Parameters:
      col - the col
      Returns:
      the string
    • handleEvent

      public void handleEvent(org.eclipse.swt.widgets.Event event)
      Specified by:
      handleEvent in interface org.eclipse.swt.widgets.Listener
      Overrides:
      handleEvent in class AbstractDialog
    • toggleValue

      protected void toggleValue(org.eclipse.swt.widgets.TableItem item, int col)
      Toggle value.
      Parameters:
      item - the item
      col - the col
    • toggleValue

      protected void toggleValue(org.eclipse.swt.widgets.TreeItem item, int col)
      Toggle value.
      Parameters:
      item - the item
      col - the col
    • isValid

      public boolean isValid()
      Description copied from class: AbstractDialog
      Checks if is valid.
      Specified by:
      isValid in class AbstractDialog
      Returns:
      true, if is valid
    • enableOK

      public void enableOK()
      Description copied from class: AbstractDialog
      Enable OK.
      Specified by:
      enableOK in class AbstractDialog
    • setChecked

      protected void setChecked(org.eclipse.swt.widgets.TableItem item, int col, boolean value)
      Sets the checked.
      Parameters:
      item - the item
      col - the col
      value - the value
    • setChecked

      protected void setChecked(org.eclipse.swt.widgets.TreeItem item, int col, boolean value)
      Sets the checked.
      Parameters:
      item - the item
      col - the col
      value - the value