Package com._1c.g5.v8.dt.ui.operations
Class TimeTriggeredProgressMonitorDialog
- 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.ui.operations.TimeTriggeredProgressMonitorDialog
-
- All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableContext,org.eclipse.jface.window.IShellProvider
public class TimeTriggeredProgressMonitorDialog extends org.eclipse.jface.dialogs.ProgressMonitorDialogCopied from org.eclipse.ui.internal.operations.TimeTriggeredProgressMonitorDialog
-
-
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
-
-
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 voidcreateWrapperedMonitor()Create a monitor for the receiver that wrappers the superclasses monitor.org.eclipse.core.runtime.IProgressMonitorgetProgressMonitor()voidrun(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 dialoglongOperationTime- 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:
getProgressMonitorin classorg.eclipse.jface.dialogs.ProgressMonitorDialog
-
run
public void run(boolean fork, boolean cancelable, org.eclipse.jface.operation.IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException- Specified by:
runin interfaceorg.eclipse.jface.operation.IRunnableContext- Overrides:
runin classorg.eclipse.jface.dialogs.ProgressMonitorDialog- Throws:
InvocationTargetExceptionInterruptedException
-
-