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
  • Field Details

    • authorizer

      protected final Authorizer<E> authorizer
  • Constructor Details

    • AbstractAuthorizingDialog

      public AbstractAuthorizingDialog(Shell parentShell, CDOSession session)
  • Method Details

    • getInitialSize

      protected Point getInitialSize()
      Overrides:
      getInitialSize in class org.eclipse.net4j.util.ui.widgets.AbstractDialog
    • createUI

      protected final void createUI(Composite container)
      Specified by:
      createUI in class org.eclipse.net4j.util.ui.widgets.AbstractDialog
    • doCreateUI

      protected abstract void doCreateUI(Composite container)
    • createButtonBar

      protected Control createButtonBar(Composite parent)
      Overrides:
      createButtonBar in class TrayDialog
    • doValidate

      protected void doValidate() throws Exception
      Overrides:
      doValidate in class org.eclipse.net4j.util.ui.widgets.AbstractDialog
      Throws:
      Exception
    • getAuthorizationDeniedMessage

      public String getAuthorizationDeniedMessage()
      Specified by:
      getAuthorizationDeniedMessage in interface Authorizer.AuthorizerContext<E>