Class PalladioSelectEObjectDialog
- java.lang.Object
-
- org.eclipse.jface.window.Window
-
- org.eclipse.jface.dialogs.Dialog
-
- org.eclipse.jface.dialogs.TrayDialog
-
- org.eclipse.jface.dialogs.TitleAreaDialog
-
- de.uka.ipd.sdq.dialogs.selection.SelectEObjectDialog
-
- org.palladiosimulator.editors.commons.dialogs.selection.PalladioSelectEObjectDialog
-
- All Implemented Interfaces:
IShellProvider
- Direct Known Subclasses:
CallDataTypeDialog
public class PalladioSelectEObjectDialog extends de.uka.ipd.sdq.dialogs.selection.SelectEObjectDialog
The Class PalladioSelectEObjectDialog.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
Window.IExceptionHandler
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
-
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
-
-
Constructor Summary
Constructors Constructor Description PalladioSelectEObjectDialog(Shell parent, Collection<Object> filterList, Object input)
Instantiates a new Palladio select EObject dialog.PalladioSelectEObjectDialog(Shell parent, Collection<Object> filterList, Collection<EReference> additionalChildReferences, Object input)
Creates a selection dialog.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static String
getInputDialogResourceName(Collection<Object> filterList)
-
Methods inherited from class de.uka.ipd.sdq.dialogs.selection.SelectEObjectDialog
cancelPressed, configureShell, createButtonsForButtonBar, createDialogArea, enableToolBar, getInitialSize, getResult, getRootOfResult, getTreeViewer, getViewerRootElement, open, setAddSelectionListener, setDeleteSelectionListener, setEditeSelectionListener, setProvidedService, setViewerContentProvider, setViewerLabelProvider
-
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog
createContents, getErrorMessage, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
-
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
-
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, 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, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
-
-
-
Constructor Detail
-
PalladioSelectEObjectDialog
public PalladioSelectEObjectDialog(Shell parent, Collection<Object> filterList, Collection<EReference> additionalChildReferences, Object input)
Creates a selection dialog.- Parameters:
parent
- Shell of active workbench windowfilterList
- Objects to show (positive filter). Also include respective super types hereadditionalChildReferences
- Usually this should be the EReference which should be setinput
- ResourceSet or object of which resource set should be taken
-
PalladioSelectEObjectDialog
public PalladioSelectEObjectDialog(Shell parent, Collection<Object> filterList, Object input)
Instantiates a new Palladio select EObject dialog.- Parameters:
parent
- the parentfilterList
- the filter listinput
- the input
-
-
Method Detail
-
getInputDialogResourceName
protected static String getInputDialogResourceName(Collection<Object> filterList)
-
-