public class DebugDialog
extends org.eclipse.jface.dialogs.Dialog
Modifier and Type | Class and Description |
---|---|
protected class |
DebugDialog.ConstraintModifyListener |
protected class |
DebugDialog.ConstraintsModifyListener |
Modifier and Type | Field and Description |
---|---|
protected CompleteOCLRegistry |
completeOCLRegistry |
protected Constraint |
selectedConstraint |
protected org.eclipse.emf.ecore.EObject |
selectedObject |
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 |
---|
DebugDialog(org.eclipse.swt.widgets.Shell parentShell,
org.eclipse.emf.ecore.EObject selectedObject)
Create the dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
Create contents of the button bar.
|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
Create contents of the dialog.
|
Constraint |
getConstraint() |
org.eclipse.emf.ecore.EObject |
getContext() |
protected org.eclipse.swt.graphics.Point |
getInitialSize()
Return the initial size of the dialog.
|
void |
setSelection(org.eclipse.emf.ecore.EObject eObject) |
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, configureShell, 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
@NonNull protected final CompleteOCLRegistry completeOCLRegistry
@NonNull protected final org.eclipse.emf.ecore.EObject selectedObject
@Nullable protected Constraint selectedConstraint
public DebugDialog(org.eclipse.swt.widgets.Shell parentShell, @NonNull org.eclipse.emf.ecore.EObject selectedObject)
parentShell
- selectedObject
- protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
parent
- protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
createButtonsForButtonBar
in class org.eclipse.jface.dialogs.Dialog
parent
- protected org.eclipse.swt.graphics.Point getInitialSize()
getInitialSize
in class org.eclipse.jface.dialogs.Dialog
public void setSelection(@NonNull org.eclipse.emf.ecore.EObject eObject)
@NonNull public org.eclipse.emf.ecore.EObject getContext()
@Nullable public Constraint getConstraint()