Package com._1c.g5.v8.dt.qw.ui.dialogs
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.DialogBase dialog class for query wizard dialogs
- 
- 
Field Summary- 
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
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractQueryWizardDialog(org.eclipse.swt.widgets.Shell parentShell)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanclose()static org.eclipse.swt.graphics.PointgetDialogLocation(org.eclipse.jface.dialogs.Dialog dialog)Get saved dialog locationstatic org.eclipse.swt.graphics.PointgetDialogSize(org.eclipse.jface.dialogs.Dialog dialog)Get saved dialog sizeprotected org.eclipse.swt.graphics.PointgetInitialLocation(org.eclipse.swt.graphics.Point initialSize)protected org.eclipse.swt.graphics.PointgetInitialSize()protected org.eclipse.swt.graphics.PointgetInitialSize(org.eclipse.swt.graphics.Point defaultSizae)Returns the initial size to use for the shellstatic voidsaveState(org.eclipse.jface.dialogs.Dialog dialog)Save dialog parameters- 
Methods inherited from class org.eclipse.jface.dialogs.DialogapplyDialogFont, 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.WindowcanHandleShellCloseEvent, 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
 
- 
 
- 
- 
- 
Method Detail- 
getDialogSizepublic 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
 
 - 
getDialogLocationpublic 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
 
 - 
saveStatepublic static void saveState(org.eclipse.jface.dialogs.Dialog dialog) Save dialog parameters- Parameters:
- dialog- - dialog
 
 - 
closepublic boolean close() - Overrides:
- closein class- org.eclipse.jface.dialogs.Dialog
 
 - 
getInitialSizeprotected org.eclipse.swt.graphics.Point getInitialSize() - Overrides:
- getInitialSizein class- org.eclipse.jface.dialogs.Dialog
 
 - 
getInitialSizeprotected 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
 
 - 
getInitialLocationprotected org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize) - Overrides:
- getInitialLocationin class- org.eclipse.jface.dialogs.Dialog
 
 
- 
 
-