Class AbstractQueryWizardDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
com._1c.g5.v8.dt.qw.ui.dialogs.AbstractQueryWizardDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
Direct Known Subclasses:
AvailableTableSelectionDialog, QueryExpressionEditDialog, QueryTextEditDialog, QueryWizard, TempTableDescriptionDialog, VirtTableParamsDialog

public abstract class AbstractQueryWizardDialog extends org.eclipse.jface.dialogs.Dialog
Base dialog class for query wizard dialogs
  • 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

    Modifier and Type
    Method
    Description
    boolean
     
    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
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractQueryWizardDialog

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

    • 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