Class AbstractDialogKeyVerifyJavaNames
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
- 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
- Direct Known Subclasses:
AddExternalResourceDependencyDialog
,AddIndexDialog
,AddParameterDialog
,AddTypeDialog
public abstract class AbstractDialogKeyVerifyJavaNames
extends AbstractDialogKeyVerify
implements org.eclipse.swt.custom.VerifyKeyListener, org.eclipse.swt.events.VerifyListener
The Class AbstractDialogKeyVerifyJavaNames.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
-
Field Summary
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
ModifierConstructorDescriptionprotected
AbstractDialogKeyVerifyJavaNames
(AbstractSection aSection, String title, String description) Instantiates a new abstract dialog key verify java names. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.custom.StyledText
newSingleLineStyledText
(org.eclipse.swt.widgets.Composite parent, String tip) New single line styled text.boolean
verifyKeyChecks
(org.eclipse.swt.events.VerifyEvent event) Java name space names verify key checks for java identifier and periods.void
verifyText
(org.eclipse.swt.events.VerifyEvent event) Verify text.Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialogKeyVerify
newLabeledSingleLineStyledText, verifyKey
Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.AbstractDialog
buttonPressed, configureShell, convertNull, copyValuesFromGUI, createButtonBar, createButtonsForButtonBar, createDialogArea, createDialogArea, createWideLabel, enableOK, getAllTypesAsSortedArray, getHitColumn, getTypeSystemInfoList, handleEvent, isValid, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.swt.custom.VerifyKeyListener
verifyKey
-
Constructor Details
-
AbstractDialogKeyVerifyJavaNames
protected AbstractDialogKeyVerifyJavaNames(AbstractSection aSection, String title, String description) Instantiates a new abstract dialog key verify java names.- Parameters:
aSection
- the a sectiontitle
- the titledescription
- the description
-
-
Method Details
-
newSingleLineStyledText
protected org.eclipse.swt.custom.StyledText newSingleLineStyledText(org.eclipse.swt.widgets.Composite parent, String tip) Description copied from class:AbstractDialogKeyVerify
New single line styled text.- Overrides:
newSingleLineStyledText
in classAbstractDialogKeyVerify
- Parameters:
parent
- the parenttip
- the tip- Returns:
- the styled text
-
verifyKeyChecks
public boolean verifyKeyChecks(org.eclipse.swt.events.VerifyEvent event) Java name space names verify key checks for java identifier and periods.- Overrides:
verifyKeyChecks
in classAbstractDialogKeyVerify
- Parameters:
event
- the event- Returns:
- true, if successful
-
verifyText
public void verifyText(org.eclipse.swt.events.VerifyEvent event) Verify text.- event.start - the replace start offset
- event.end - the replace end offset
- event.text - the new text
- Specified by:
verifyText
in interfaceorg.eclipse.swt.events.VerifyListener
- Parameters:
event
- the text change event.
-