Class PlatformSupportInstallationDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.IconAndMessageDialog
org.eclipse.jface.dialogs.ProgressMonitorDialog
com._1c.g5.v8.dt.internal.platform.services.ui.platforms.PlatformSupportInstallationDialog
- All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableContext
,org.eclipse.jface.window.IShellProvider
public class PlatformSupportInstallationDialog
extends org.eclipse.jface.dialogs.ProgressMonitorDialog
Installation dialog for the platform support. Shows installation notifications, installation progress
and controls in some modes.
Works in following modes:
- Manual install. Called from the Eclipse preferences
- Automatic install. Called as the part of the EDT project LC
-
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.ProgressMonitorDialog
arrowCursor, cancel, enableCancelButton, operationCancelableState, progressIndicator, subTaskLabel, taskLabel
Fields inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
imageLabel, message, messageLabel
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
ConstructorsConstructorDescriptionPlatformSupportInstallationDialog
(org.eclipse.swt.widgets.Shell parent, IPlatformProvisioningManager platformProvisioningManager, Version version) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createButtonsForButtonBar
(org.eclipse.swt.widgets.Composite parent) protected org.eclipse.swt.widgets.Control
createDialogArea
(org.eclipse.swt.widgets.Composite parent) protected void
Gets the result restart allowance, if receivedprotected boolean
void
run()
Methods inherited from class org.eclipse.jface.dialogs.ProgressMonitorDialog
aboutToRun, cancelPressed, clearCursors, close, configureShell, createCancelButton, decrementNestingDepth, getImage, getInitialSize, getNestingDepth, getOpenOnRun, getProgressMonitor, incrementNestingDepth, open, run, setCancelable, setOpenOnRun, setOperationCancelButtonEnabled, updateForClearBlocked, updateForSetBlocked
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, getColumnCount, getErrorImage, getInfoImage, getMessageLabelStyle, getQuestionImage, getWarningImage
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, 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, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Constructor Details
-
PlatformSupportInstallationDialog
public PlatformSupportInstallationDialog(org.eclipse.swt.widgets.Shell parent, IPlatformProvisioningManager platformProvisioningManager, Version version) Create a new instance.- Parameters:
parent
- the parent shell, cannot benull
.platformProvisioningManager
- The provisioning install manager. May not benull
verison
- The target version. May not benull
-
-
Method Details
-
getRestartAllowance
Gets the result restart allowance, if received- Returns:
- the restartAllowance
-
run
public void run() -
createButtonsForButtonBar
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) - Overrides:
createButtonsForButtonBar
in classorg.eclipse.jface.dialogs.ProgressMonitorDialog
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Overrides:
createDialogArea
in classorg.eclipse.jface.dialogs.ProgressMonitorDialog
-
finishedRun
protected void finishedRun()- Overrides:
finishedRun
in classorg.eclipse.jface.dialogs.ProgressMonitorDialog
-
isResizable
protected boolean isResizable()- Overrides:
isResizable
in classorg.eclipse.jface.dialogs.Dialog
-