Class AddCapabilityFeatureDialog
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
org.apache.uima.taeconfigurator.editors.ui.dialogs.AddCapabilityFeatureDialog
- All Implemented Interfaces:
StandardStrings
,org.eclipse.jface.window.IShellProvider
,org.eclipse.swt.widgets.Listener
The Class AddCapabilityFeatureDialog.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionboolean
The all features input.boolean
The all features output.String[]
The features.boolean[]
The inputs.boolean[]
The outputs.Fields inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogMultiColTable
enableCol1, enableCol2, numberChecked, UNCHECKED
Fields inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
dialogDescription, editor, errorMessageUI, okButton, section, stringArray0, title
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred
Fields inherited from interface org.apache.uima.taeconfigurator.StandardStrings
S_, S_ADD, S_DESCRIPTION, S_DOWN, S_DOWN_TIP, S_EDIT, S_EDIT_TIP, S_EXPORT, S_EXPORT_TIP, S_REMOVE, S_REMOVE_TIP, S_UP, S_UP_TIP
-
Constructor Summary
ConstructorDescriptionAddCapabilityFeatureDialog
(AbstractSection aSection, Type aSelectedType, Capability c) Instantiates a new adds the capability feature dialog. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Copy values from GUI.protected org.eclipse.swt.widgets.Control
createDialogArea
(org.eclipse.swt.widgets.Composite parent) protected String
getTypeFeature
(Feature feature) return the actual type name : short-feature-name.protected void
toggleValue
(org.eclipse.swt.widgets.TableItem item, int col) Toggle value.Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogMultiColTable
checkedIndicator, enableOK, handleEvent, isValid, setChecked, setChecked, toggleValue
Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
buttonPressed, configureShell, convertNull, createButtonBar, createButtonsForButtonBar, createDialogArea, createWideLabel, getAllTypesAsSortedArray, getHitColumn, getTypeSystemInfoList, new2ColumnComposite, newButton, newButtonContainer, newCCombo, newDescription, newErrorMessage, newErrorMessage, newLabeledCCombo, newLabeledText, newLabeledTypeInput, newPushButton, newTable, newText, newTree, newTypeInput, nullIf0lengthString, setErrorMessage, setMessage, setTextAndTip, setTextAndTip, setTextAndTip, setTextAndTip, setTitle, superButtonPressed, textModifyCallback, typeContainedInTypeSystemInfoList, useQualifiedTypes
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Field Details
-
features
The features. -
inputs
public boolean[] inputsThe inputs. -
outputs
public boolean[] outputsThe outputs. -
allFeaturesInput
public boolean allFeaturesInputThe all features input. -
allFeaturesOutput
public boolean allFeaturesOutputThe all features output.
-
-
Constructor Details
-
AddCapabilityFeatureDialog
Instantiates a new adds the capability feature dialog.- Parameters:
aSection
- the a sectionaSelectedType
- the a selected typec
- the c
-
-
Method Details
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Overrides:
createDialogArea
in classAbstractDialog
-
getTypeFeature
return the actual type name : short-feature-name.- Parameters:
feature
- the feature- Returns:
- the actual type name : short-feature-name
-
toggleValue
protected void toggleValue(org.eclipse.swt.widgets.TableItem item, int col) Description copied from class:AbstractDialogMultiColTable
Toggle value.- Overrides:
toggleValue
in classAbstractDialogMultiColTable
- Parameters:
item
- the itemcol
- the col
-
copyValuesFromGUI
public void copyValuesFromGUI()Description copied from class:AbstractDialog
Copy values from GUI.- Specified by:
copyValuesFromGUI
in classAbstractDialog
-