org.eclipse.net4j.util.ui.widgets
Class MonitorDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.IconAndMessageDialog
              extended by org.eclipse.jface.dialogs.ProgressMonitorDialog
                  extended by org.eclipse.net4j.util.ui.widgets.MonitorDialog
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider

public class MonitorDialog
extends org.eclipse.jface.dialogs.ProgressMonitorDialog


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
static int DEFAULT_SHELL_STYLE
           
 
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
 
Constructor Summary
MonitorDialog(org.eclipse.swt.widgets.Shell parentShell, int shellStyle, java.lang.String title, org.eclipse.jface.dialogs.IDialogSettings settings)
           
MonitorDialog(org.eclipse.swt.widgets.Shell parentShell, java.lang.String title, org.eclipse.jface.dialogs.IDialogSettings settings)
           
 
Method Summary
protected  void configureShell(org.eclipse.swt.widgets.Shell newShell)
           
protected  void finishedRun()
           
protected  org.eclipse.jface.dialogs.IDialogSettings getDialogBoundsSettings()
           
 void run(boolean fork, boolean cancelable, org.eclipse.jface.operation.IRunnableWithProgress runnable)
          Deprecated. 
 void run(boolean fork, boolean cancelable, java.lang.Runnable runnable)
           
 
Methods inherited from class org.eclipse.jface.dialogs.ProgressMonitorDialog
aboutToRun, cancelPressed, clearCursors, close, createButtonsForButtonBar, createCancelButton, createDialogArea, decrementNestingDepth, getImage, getInitialSize, getNestingDepth, getOpenOnRun, getProgressMonitor, incrementNestingDepth, open, setCancelable, setOpenOnRun, setOperationCancelButtonEnabled, updateForClearBlocked, updateForSetBlocked
 
Methods inherited from class org.eclipse.jface.dialogs.IconAndMessageDialog
createButtonBar, createContents, createDialogAndButtonArea, createMessageArea, 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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SHELL_STYLE

public static final int DEFAULT_SHELL_STYLE
See Also:
Constant Field Values
Constructor Detail

MonitorDialog

public MonitorDialog(org.eclipse.swt.widgets.Shell parentShell,
                     int shellStyle,
                     java.lang.String title,
                     org.eclipse.jface.dialogs.IDialogSettings settings)

MonitorDialog

public MonitorDialog(org.eclipse.swt.widgets.Shell parentShell,
                     java.lang.String title,
                     org.eclipse.jface.dialogs.IDialogSettings settings)
Method Detail

run

public void run(boolean fork,
                boolean cancelable,
                java.lang.Runnable runnable)

finishedRun

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

run

@Deprecated
public final void run(boolean fork,
                                 boolean cancelable,
                                 org.eclipse.jface.operation.IRunnableWithProgress runnable)
               throws java.lang.reflect.InvocationTargetException,
                      java.lang.InterruptedException
Deprecated. 

Specified by:
run in interface org.eclipse.jface.operation.IRunnableContext
Overrides:
run in class org.eclipse.jface.dialogs.ProgressMonitorDialog
Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
Overrides:
configureShell in class org.eclipse.jface.dialogs.ProgressMonitorDialog

getDialogBoundsSettings

protected org.eclipse.jface.dialogs.IDialogSettings getDialogBoundsSettings()
Overrides:
getDialogBoundsSettings in class org.eclipse.jface.dialogs.Dialog

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.