public class CreateNewChildDialog
extends 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
Constructor and Description |
---|
CreateNewChildDialog(org.eclipse.swt.widgets.Shell parentShell,
String title,
org.eclipse.emf.ecore.EObject parent,
org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
Instantiates a new creates the new child dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell) |
protected org.eclipse.swt.widgets.Button |
createButton(org.eclipse.swt.widgets.Composite parent,
int id,
String label,
boolean defaultButton) |
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parentComposite) |
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.
|
protected org.eclipse.jface.viewers.ISelectionProvider |
getSelectionProvider()
Returns the selection provider.
|
protected void |
setShellStyle(int newShellStyle) |
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 CreateNewChildDialog(org.eclipse.swt.widgets.Shell parentShell, String title, org.eclipse.emf.ecore.EObject parent, org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
parentShell
- the parent shelltitle
- the titleparent
- the parentselectionProvider
- the selection providerprotected final org.eclipse.jface.viewers.ISelectionProvider getSelectionProvider()
protected void setShellStyle(int newShellStyle)
setShellStyle
in class org.eclipse.jface.window.Window
protected org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.Composite parent, int id, String label, boolean defaultButton)
createButton
in class org.eclipse.jface.dialogs.Dialog
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
createButtonsForButtonBar
in class org.eclipse.jface.dialogs.Dialog
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class org.eclipse.jface.window.Window
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parentComposite)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
protected List<org.eclipse.jface.action.Action> getNewChildActions(Collection<?> descriptors, org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject eObject)
descriptors
- the descriptorsdomain
- the domaineObject
- the e objectCopyright © 2019. All rights reserved.