org.eclipse.ocl.examples.modelregistry.ui.properties
Class RegistrationDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.dialogs.StatusDialog
org.eclipse.ocl.examples.modelregistry.ui.properties.RegistrationDialog
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
public class RegistrationDialog
- extends org.eclipse.jface.dialogs.StatusDialog
Dialog to enter/edit a registration
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
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 |
Methods inherited from class org.eclipse.jface.dialogs.StatusDialog |
create, createButtonBar, createButtonsForButtonBar, getStatus, setImage, setStatusLineAboveButtons, setTitle, updateButtonsEnableState, updateStatus |
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog |
closeTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, 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, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrationDialog
public RegistrationDialog(org.eclipse.swt.widgets.Shell parent,
AccessorRegistry<?> accessorRegistry,
Registration<?> registration,
java.util.List<Registration<?>> currentRegistrationModel,
FileHandle fileHandle)
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
- Overrides:
configureShell
in class org.eclipse.jface.dialogs.StatusDialog
createAccessorNameControls
protected void createAccessorNameControls(org.eclipse.swt.widgets.Composite parent)
createBrowseFileSystemButton
protected void createBrowseFileSystemButton(org.eclipse.swt.widgets.Composite parent)
createBrowseRegisteredPackagesButton
protected void createBrowseRegisteredPackagesButton(org.eclipse.swt.widgets.Composite parent)
createBrowseWorkspaceButton
protected void createBrowseWorkspaceButton(org.eclipse.swt.widgets.Composite parent)
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
createResourceURIControls
protected void createResourceURIControls(org.eclipse.swt.widgets.Composite parent,
int columnsPerLine)
createSerializationControls
protected void createSerializationControls(org.eclipse.swt.widgets.Composite parent)
doValidation
protected void doValidation()
getRegistration
public Registration<?> getRegistration()
setShellStyle
protected void setShellStyle(int newShellStyle)
- Overrides:
setShellStyle
in class org.eclipse.jface.window.Window