Class ContextForPartDialog
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.ResourcePickerDialog
org.apache.uima.taeconfigurator.files.ContextForPartDialog
- All Implemented Interfaces:
StandardStrings
,org.eclipse.jface.window.IShellProvider
,org.eclipse.swt.widgets.Listener
The Class ContextForPartDialog.
-
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.ResourcePickerDialog
pickedResource, resourcesUI, resourcesUIc1, resourcesUIc2, result
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
ConstructorDescriptionContextForPartDialog
(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IAdaptable rootElement, XMLizable thingBeingEdited, org.eclipse.core.runtime.IPath aExcludeDescriptor, MultiPageEditor aEditor, String aInitialPath) Instantiates a new context for part dialog. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Control
createDialogArea
(org.eclipse.swt.widgets.Composite parent) void
enableOK()
Enable OK.void
handleEvent
(org.eclipse.swt.widgets.Event event) protected void
Methods inherited from class org.apache.uima.taeconfigurator.editors.ui.dialogs.ResourcePickerDialog
copyValuesFromGUI, getResult, isValid, setResult, setupResourcesByLocation
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, 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
-
contextPath
The context path.
-
-
Constructor Details
-
ContextForPartDialog
public ContextForPartDialog(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.runtime.IAdaptable rootElement, XMLizable thingBeingEdited, org.eclipse.core.runtime.IPath aExcludeDescriptor, MultiPageEditor aEditor, String aInitialPath) Instantiates a new context for part dialog.- Parameters:
parentShell
- the parent shellrootElement
- the root elementthingBeingEdited
- the thing being editedaExcludeDescriptor
- the a exclude descriptoraEditor
- the a editoraInitialPath
- the a initial path
-
-
Method Details
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Overrides:
createDialogArea
in classResourcePickerDialog
-
handleEvent
public void handleEvent(org.eclipse.swt.widgets.Event event) - Specified by:
handleEvent
in interfaceorg.eclipse.swt.widgets.Listener
- Overrides:
handleEvent
in classResourcePickerDialog
-
okPressed
protected void okPressed()- Overrides:
okPressed
in classorg.eclipse.jface.dialogs.Dialog
-
enableOK
public void enableOK()Description copied from class:AbstractDialog
Enable OK.- Overrides:
enableOK
in classResourcePickerDialog
-