Package com._1c.g5.v8.dt.bsl.ui.event
Class EventDirectiveDialog
- java.lang.Object
-
- org.eclipse.jface.window.Window
-
- org.eclipse.jface.dialogs.Dialog
-
- com._1c.g5.v8.dt.bsl.ui.event.EventDirectiveDialog
-
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
public class EventDirectiveDialog extends org.eclipse.jface.dialogs.DialogDialog defines compilation directives of the procedures for event handler in bsl form module created from property sheet
-
-
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
-
-
Constructor Summary
Constructors Constructor Description EventDirectiveDialog(org.eclipse.swt.widgets.Shell parent, boolean isRussian, boolean isAllowedServerCall)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureShell(org.eclipse.swt.widgets.Shell newShell)protected org.eclipse.swt.widgets.ControlcreateDialogArea(org.eclipse.swt.widgets.Composite parent)protected voidcreateDialogContent(org.eclipse.swt.widgets.Composite composite)Creates dialog content.StringgetProcedureDirective()Gets procedure directive for chosen eventprotected voidokPressed()-
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, 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
-
-
-
-
Constructor Detail
-
EventDirectiveDialog
public EventDirectiveDialog(org.eclipse.swt.widgets.Shell parent, boolean isRussian, boolean isAllowedServerCall)Constructor- Parameters:
parent- a shell which will be the parent of the new instanceisRussian-trueif actual script variant is Russian,falseotherwiseisAllowedServerCall-trueif allow select "AtServer" directive
-
-
Method Detail
-
getProcedureDirective
public String getProcedureDirective()
Gets procedure directive for chosen event- Returns:
- procedure directive for chosen event, or empty string if there is no procedure for chosen event
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogAreain classorg.eclipse.jface.dialogs.Dialog
-
okPressed
protected void okPressed()
- Overrides:
okPressedin classorg.eclipse.jface.dialogs.Dialog
-
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
- Overrides:
configureShellin classorg.eclipse.jface.window.Window
-
createDialogContent
protected void createDialogContent(org.eclipse.swt.widgets.Composite composite)
Creates dialog content.- Parameters:
composite- the parent composite to create content on, cannot benull
-
-