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

    Constructors
    Constructor
    Description
    PlatformSupportInstallationDialog(org.eclipse.swt.widgets.Shell parent, IPlatformProvisioningManager platformProvisioningManager, Version version)
    Create a new instance.
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 be null.
      platformProvisioningManager - The provisioning install manager. May not be null
      verison - The target version. May not be null
  • 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 class org.eclipse.jface.dialogs.ProgressMonitorDialog
    • createDialogArea

      protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
      Overrides:
      createDialogArea in class org.eclipse.jface.dialogs.ProgressMonitorDialog
    • finishedRun

      protected void finishedRun()
      Overrides:
      finishedRun in class org.eclipse.jface.dialogs.ProgressMonitorDialog
    • isResizable

      protected boolean isResizable()
      Overrides:
      isResizable in class org.eclipse.jface.dialogs.Dialog