Class StructurePreviewCustomDialog
- java.lang.Object
-
- org.eclipse.jface.window.Window
-
- org.eclipse.jface.dialogs.Dialog
-
- com._1c.g5.v8.dt.dcs.ui.settings.structure.custom.StructurePreviewCustomDialog
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.jface.window.IShellProvider
public class StructurePreviewCustomDialog extends org.eclipse.jface.dialogs.Dialog implements org.eclipse.core.runtime.IAdaptable
Preview custom settings dialog
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMP_KIND_COL_INDEX
static int
RIGHT_VALUE_COL_INDEX
static int
SETTING_COL_INDEX
static int
USE_COL_INDEX
-
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
-
-
Constructor Summary
Constructors Constructor Description StructurePreviewCustomDialog(org.eclipse.swt.widgets.Shell shell, IDcsSettingsProvider settingsProvider, DataCompositionSettings settings)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureShell(org.eclipse.swt.widgets.Shell shell)
protected void
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control
createDialogArea(org.eclipse.swt.widgets.Composite parent)
<T> T
getAdapter(Class<T> adapter)
protected org.eclipse.swt.graphics.Point
getInitialSize()
-
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, 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.Window
canHandleShellCloseEvent, 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
-
-
-
-
Field Detail
-
USE_COL_INDEX
public static final int USE_COL_INDEX
- See Also:
- Constant Field Values
-
SETTING_COL_INDEX
public static final int SETTING_COL_INDEX
- See Also:
- Constant Field Values
-
COMP_KIND_COL_INDEX
public static final int COMP_KIND_COL_INDEX
- See Also:
- Constant Field Values
-
RIGHT_VALUE_COL_INDEX
public static final int RIGHT_VALUE_COL_INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StructurePreviewCustomDialog
public StructurePreviewCustomDialog(org.eclipse.swt.widgets.Shell shell, IDcsSettingsProvider settingsProvider, DataCompositionSettings settings)
Constructor- Parameters:
shell
- active shell, can't be nullsettingsProvider
- settings provider, can't be nullsettings
- current settings object, can't be null
-
-
Method Detail
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
-
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
- Overrides:
configureShell
in classorg.eclipse.jface.window.Window
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogArea
in classorg.eclipse.jface.dialogs.Dialog
-
createButtonsForButtonBar
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createButtonsForButtonBar
in classorg.eclipse.jface.dialogs.Dialog
-
getInitialSize
protected org.eclipse.swt.graphics.Point getInitialSize()
- Overrides:
getInitialSize
in classorg.eclipse.jface.dialogs.Dialog
-
-