Class AddParameterDialog
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.AbstractDialogKeyVerify
org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogKeyVerifyJavaNames
org.apache.uima.taeconfigurator.editors.ui.dialogs.AddParameterDialog
- All Implemented Interfaces:
EventListener,StandardStrings,org.eclipse.jface.window.IShellProvider,org.eclipse.swt.custom.VerifyKeyListener,org.eclipse.swt.events.VerifyListener,org.eclipse.swt.internal.SWTEventListener,org.eclipse.swt.widgets.Listener
The Class AddParameterDialog.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionThe description.The ext parm name.booleanThe mandatory.booleanThe multi value.org.eclipse.swt.widgets.ButtonThe multi value UI.The parm name.The parm type.org.eclipse.swt.custom.CComboThe parm type UI.Fields inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
dialogDescription, editor, errorMessageUI, okButton, section, stringArray0, titleFields 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, ELLIPSISFields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurredFields 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
ConstructorsConstructorDescriptionAddParameterDialog(AbstractSection aSection, ConfigurationParameter aExistingCP) Constructor for Editing an existing parameter.AddParameterDialog(AbstractSection aSection, ConfigGroup cg) Constructor for Adding a new parameter to a group (may be the not-in-any one). -
Method Summary
Modifier and TypeMethodDescriptionvoidCopy values from GUI.protected org.eclipse.swt.widgets.ControlcreateDialogArea(org.eclipse.swt.widgets.Composite parent) voidenableOK()Enable OK.booleanisValid()Checks if is valid.Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogKeyVerifyJavaNames
newSingleLineStyledText, verifyKeyChecks, verifyTextMethods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogKeyVerify
newLabeledSingleLineStyledText, verifyKeyMethods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
buttonPressed, configureShell, convertNull, createButtonBar, createButtonsForButtonBar, createDialogArea, createWideLabel, getAllTypesAsSortedArray, getHitColumn, getTypeSystemInfoList, handleEvent, 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, useQualifiedTypesMethods 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, shortenTextMethods 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, setWindowManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.swt.custom.VerifyKeyListener
verifyKey
-
Field Details
-
multiValueUI
public org.eclipse.swt.widgets.Button multiValueUIThe multi value UI. -
parmTypeUI
public org.eclipse.swt.custom.CCombo parmTypeUIThe parm type UI. -
parmName
The parm name. -
extParmName
The ext parm name. -
multiValue
public boolean multiValueThe multi value. -
mandatory
public boolean mandatoryThe mandatory. -
parmType
The parm type. -
description
The description.
-
-
Constructor Details
-
AddParameterDialog
Constructor for Editing an existing parameter.- Parameters:
aSection- the a sectionaExistingCP- the a existing CP
-
AddParameterDialog
Constructor for Adding a new parameter to a group (may be the not-in-any one).- Parameters:
aSection- the a sectioncg- the cg
-
-
Method Details
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Overrides:
createDialogAreain classAbstractDialog
-
copyValuesFromGUI
public void copyValuesFromGUI()Description copied from class:AbstractDialogCopy values from GUI.- Specified by:
copyValuesFromGUIin classAbstractDialog
-
isValid
public boolean isValid()Description copied from class:AbstractDialogChecks if is valid.- Specified by:
isValidin classAbstractDialog- Returns:
- true, if is valid
-
enableOK
public void enableOK()Description copied from class:AbstractDialogEnable OK.- Specified by:
enableOKin classAbstractDialog
-