Class AbstractQueryWizardDialog

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jface.window.Window

        org.eclipse.jface.window.Window.IExceptionHandler
    • Field Summary

      • 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, resizeHasOccurred
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractQueryWizardDialog​(org.eclipse.swt.widgets.Shell parentShell)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean close()  
      static org.eclipse.swt.graphics.Point getDialogLocation​(org.eclipse.jface.dialogs.Dialog dialog)
      Get saved dialog location
      static org.eclipse.swt.graphics.Point getDialogSize​(org.eclipse.jface.dialogs.Dialog dialog)
      Get saved dialog size
      protected org.eclipse.swt.graphics.Point getInitialLocation​(org.eclipse.swt.graphics.Point initialSize)  
      protected org.eclipse.swt.graphics.Point getInitialSize()  
      protected org.eclipse.swt.graphics.Point getInitialSize​(org.eclipse.swt.graphics.Point defaultSizae)
      Returns the initial size to use for the shell
      static void saveState​(org.eclipse.jface.dialogs.Dialog dialog)
      Save dialog parameters
      • Methods inherited from class org.eclipse.jface.dialogs.Dialog

        applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, createDialogArea, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
      • Methods inherited from class org.eclipse.jface.window.Window

        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
    • Constructor Detail

      • AbstractQueryWizardDialog

        public AbstractQueryWizardDialog​(org.eclipse.swt.widgets.Shell parentShell)
        Parameters:
        parentShell -
    • Method Detail

      • getDialogSize

        public static org.eclipse.swt.graphics.Point getDialogSize​(org.eclipse.jface.dialogs.Dialog dialog)
        Get saved dialog size
        Parameters:
        dialog - - dialog
        Returns:
        dialog size or null if can't load saved dialog size
      • getDialogLocation

        public static org.eclipse.swt.graphics.Point getDialogLocation​(org.eclipse.jface.dialogs.Dialog dialog)
        Get saved dialog location
        Parameters:
        dialog - - dialog
        Returns:
        dialog size or null if can't load saved dialog size
      • saveState

        public static void saveState​(org.eclipse.jface.dialogs.Dialog dialog)
        Save dialog parameters
        Parameters:
        dialog - - dialog
      • close

        public boolean close()
        Overrides:
        close in class org.eclipse.jface.dialogs.Dialog
      • getInitialSize

        protected org.eclipse.swt.graphics.Point getInitialSize()
        Overrides:
        getInitialSize in class org.eclipse.jface.dialogs.Dialog
      • getInitialSize

        protected org.eclipse.swt.graphics.Point getInitialSize​(org.eclipse.swt.graphics.Point defaultSizae)
        Returns the initial size to use for the shell
        Parameters:
        defaultSizae - - if have no saved size will return default size
        Returns:
        initial size
      • getInitialLocation

        protected org.eclipse.swt.graphics.Point getInitialLocation​(org.eclipse.swt.graphics.Point initialSize)
        Overrides:
        getInitialLocation in class org.eclipse.jface.dialogs.Dialog