Class TimeTriggeredProgressMonitorDialog

  • All Implemented Interfaces:
    org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider

    public class TimeTriggeredProgressMonitorDialog
    extends org.eclipse.jface.dialogs.ProgressMonitorDialog
    Copied from org.eclipse.ui.internal.operations.TimeTriggeredProgressMonitorDialog
    • 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
      TimeTriggeredProgressMonitorDialog​(org.eclipse.swt.widgets.Shell parent, int longOperationTime)
      Create a new instance of the receiver.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createWrapperedMonitor()
      Create a monitor for the receiver that wrappers the superclasses monitor.
      org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()  
      void run​(boolean fork, boolean cancelable, org.eclipse.jface.operation.IRunnableWithProgress runnable)  
      • Methods inherited from class org.eclipse.jface.dialogs.ProgressMonitorDialog

        aboutToRun, cancelPressed, clearCursors, close, configureShell, createButtonsForButtonBar, createCancelButton, createDialogArea, decrementNestingDepth, finishedRun, getImage, getInitialSize, getNestingDepth, getOpenOnRun, incrementNestingDepth, open, 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, 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, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
    • Constructor Detail

      • TimeTriggeredProgressMonitorDialog

        public TimeTriggeredProgressMonitorDialog​(org.eclipse.swt.widgets.Shell parent,
                                                  int longOperationTime)
        Create a new instance of the receiver.
        Parameters:
        parent - the parent of the dialog
        longOperationTime - the time (in milliseconds) considered to be a long enough execution time to warrant opening a dialog.
    • Method Detail

      • createWrapperedMonitor

        public void createWrapperedMonitor()
        Create a monitor for the receiver that wrappers the superclasses monitor.
      • getProgressMonitor

        public org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()
        Overrides:
        getProgressMonitor in class org.eclipse.jface.dialogs.ProgressMonitorDialog