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.activitytracking.ui.internal.progress.ProgressDialog
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider

public class ProgressDialog extends org.eclipse.jface.dialogs.ProgressMonitorDialog
The ProgressMonitorDialog implementation for activity tracking purposes.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jface.window.Window

    org.eclipse.jface.window.Window.IExceptionHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     

    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
    ProgressDialog(org.eclipse.swt.widgets.Shell parent, IStructuredContentProvider contentProvider)
    Create a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected void
    createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
     
    protected org.eclipse.swt.widgets.Control
    createDialogArea(org.eclipse.swt.widgets.Composite parent)
     
    protected boolean
     
    int
     

    Methods inherited from class org.eclipse.jface.dialogs.ProgressMonitorDialog

    aboutToRun, cancelPressed, clearCursors, configureShell, createCancelButton, decrementNestingDepth, finishedRun, getImage, getInitialSize, getNestingDepth, getOpenOnRun, getProgressMonitor, incrementNestingDepth, 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
  • Field Details

    • alreadyClosed

      protected boolean alreadyClosed
  • Constructor Details

    • ProgressDialog

      public ProgressDialog(org.eclipse.swt.widgets.Shell parent, IStructuredContentProvider contentProvider)
      Create a new instance.
      Parameters:
      parent - the parent shell, cannot be null.
  • Method Details

    • open

      public int open()
      Overrides:
      open in class org.eclipse.jface.dialogs.ProgressMonitorDialog
    • close

      public boolean close()
      Overrides:
      close 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
    • createButtonsForButtonBar

      protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
      Overrides:
      createButtonsForButtonBar in class org.eclipse.jface.dialogs.ProgressMonitorDialog
    • isResizable

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