public class EcoreCreateNewChildDialog extends CreateNewChildDialog
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
Constructor and Description |
---|
EcoreCreateNewChildDialog(org.eclipse.swt.widgets.Shell parentShell,
String title,
org.eclipse.emf.ecore.EObject parent,
org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
Constructs a new
EcoreCreateNewChildDialog . |
Modifier and Type | Method and Description |
---|---|
protected List<org.eclipse.jface.action.Action> |
getNewChildActions(Collection<?> descriptors,
org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.emf.ecore.EObject eObject)
Creates all new child actions.
|
configureShell, createButton, createButtonsForButtonBar, createDialogArea, getSelectionProvider, setShellStyle
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
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, setWindowManager
public EcoreCreateNewChildDialog(org.eclipse.swt.widgets.Shell parentShell, String title, org.eclipse.emf.ecore.EObject parent, org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
EcoreCreateNewChildDialog
.parentShell
- the parent shelltitle
- the title of the dialogparent
- the parent EObject which will contain the new childselectionProvider
- a provider which gives access to the current selectionprotected List<org.eclipse.jface.action.Action> getNewChildActions(Collection<?> descriptors, org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject eObject)
CreateNewChildDialog
getNewChildActions
in class CreateNewChildDialog
descriptors
- the descriptorsdomain
- the domaineObject
- the e objectCopyright © 2019. All rights reserved.