Package org.eclipse.emf.cdo.ui
Class AbstractAuthorizingDialog<E>
- java.lang.Object
- 
- org.eclipse.jface.window.Window
- 
- org.eclipse.jface.dialogs.Dialog
- 
- org.eclipse.jface.dialogs.TrayDialog
- 
- org.eclipse.jface.dialogs.TitleAreaDialog
- 
- org.eclipse.net4j.util.ui.widgets.AbstractDialog
- 
- org.eclipse.emf.cdo.ui.AbstractAuthorizingDialog<E>
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- Authorizer.AuthorizerContext<E>,- IShellProvider
 
 public abstract class AbstractAuthorizingDialog<E> extends org.eclipse.net4j.util.ui.widgets.AbstractDialog implements Authorizer.AuthorizerContext<E> - Since:
- 4.11
- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.jface.window.WindowWindow.IExceptionHandler
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected Authorizer<E>authorizer- 
Fields inherited from class org.eclipse.jface.dialogs.TitleAreaDialogDLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE
 - 
Fields inherited from class org.eclipse.jface.dialogs.DialogblockedHandler, 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.WindowCANCEL, OK, resizeHasOccurred
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractAuthorizingDialog(Shell parentShell, CDOSession session)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ControlcreateButtonBar(Composite parent)protected voidcreateUI(Composite container)protected abstract voiddoCreateUI(Composite container)protected voiddoValidate()java.lang.StringgetAuthorizationDeniedMessage()protected PointgetInitialSize()- 
Methods inherited from class org.eclipse.net4j.util.ui.widgets.AbstractDialogcreateDialogArea, enableOKButton, validate
 - 
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialogcreateContents, getErrorMessage, getMessage, getTitleArea, getTitleImageLabel, setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage
 - 
Methods inherited from class org.eclipse.jface.dialogs.TrayDialogcloseTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
 - 
Methods inherited from class org.eclipse.jface.dialogs.DialogapplyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, 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.WindowcanHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.emf.cdo.ui.Authorizer.AuthorizerContextcollectElementOperations, updateUIAfterAuthorization, validate
 
- 
 
- 
- 
- 
Field Detail- 
authorizerprotected final Authorizer<E> authorizer 
 
- 
 - 
Constructor Detail- 
AbstractAuthorizingDialogpublic AbstractAuthorizingDialog(Shell parentShell, CDOSession session) 
 
- 
 - 
Method Detail- 
getInitialSizeprotected Point getInitialSize() - Overrides:
- getInitialSizein class- org.eclipse.net4j.util.ui.widgets.AbstractDialog
 
 - 
createUIprotected final void createUI(Composite container) - Specified by:
- createUIin class- org.eclipse.net4j.util.ui.widgets.AbstractDialog
 
 - 
doCreateUIprotected abstract void doCreateUI(Composite container) 
 - 
createButtonBarprotected Control createButtonBar(Composite parent) - Overrides:
- createButtonBarin class- TrayDialog
 
 - 
doValidateprotected void doValidate() throws java.lang.Exception- Overrides:
- doValidatein class- org.eclipse.net4j.util.ui.widgets.AbstractDialog
- Throws:
- java.lang.Exception
 
 - 
getAuthorizationDeniedMessagepublic java.lang.String getAuthorizationDeniedMessage() - Specified by:
- getAuthorizationDeniedMessagein interface- Authorizer.AuthorizerContext<E>
 
 
- 
 
-