public class ElementSourceDialog<T>
extends org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, 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
Constructor and Description |
---|
ElementSourceDialog(org.eclipse.swt.widgets.Shell parentShell,
IElementSource<T> elementSource)
The constructor
|
Modifier and Type | Method and Description |
---|---|
T |
getSelection()
This operation returns the selection made in the dialog.
|
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager
public ElementSourceDialog(org.eclipse.swt.widgets.Shell parentShell, IElementSource<T> elementSource)
parentShell
- The shell in which the dialog should be drawnelementSource
- The IElementSource that should be drawnpublic T getSelection()