| org.eclipse.ui.internal.progress.BlockedJobsDialog
BlockedJobsDialog | public class BlockedJobsDialog extends IconAndMessageDialog (Code) | | The BlockedJobsDialog class displays a dialog that provides information on
the running jobs.
|
Method Summary | |
public static void | clear(IProgressMonitor monitor) monitor is done. | public boolean | close(IProgressMonitor monitor) Requests that the blocked jobs dialog be closed. | public boolean | close() | protected void | configureShell(Shell shell) | public static BlockedJobsDialog | createBlockedDialog(Shell parentShell, IProgressMonitor blockedMonitor, IStatus reason, String taskName) Creates a progress monitor dialog under the given shell. | protected Control | createButtonBar(Composite parent) | protected Control | createDialogArea(Composite parent) This method creates the dialog area under the parent composite.
Parameters: parent - The parent Composite. | protected Image | getImage() | public IProgressMonitor | getProgressMonitor() Returns the progress monitor being used for this dialog. | void | setBlockedTaskName(String taskName) | void | showJobDetails(Composite parent) This method creates a dialog area in the parent composite and displays a
progress tree viewer of the running jobs. |
singleton | protected static BlockedJobsDialog singleton(Code) | | The singleton dialog instance. A singleton avoids the possibility of
recursive dialogs being created. The singleton is created when a dialog
is requested, and cleared when the dialog is disposed.
|
clear | public static void clear(IProgressMonitor monitor)(Code) | | monitor is done. Clear the receiver.
Parameters: monitor - The monitor that is now cleared. |
close | public boolean close(IProgressMonitor monitor)(Code) | | Requests that the blocked jobs dialog be closed. The supplied monitor
must be the same one that was passed to the createBlockedDialog method.
Parameters: monitor - IProgressMonitor |
close | public boolean close()(Code) | | |
configureShell | protected void configureShell(Shell shell)(Code) | | |
createBlockedDialog | public static BlockedJobsDialog createBlockedDialog(Shell parentShell, IProgressMonitor blockedMonitor, IStatus reason, String taskName)(Code) | | Creates a progress monitor dialog under the given shell. It also sets the
dialog's message. The dialog is opened automatically after a reasonable
delay. When no longer needed, the dialog must be closed by calling
close(IProgressMonitor) , where the supplied monitor is
the same monitor passed to this factory method.
Parameters: parentShell - The parent shell, or null to create a top-levelshell. If the parentShell is not null we will open immediatelyas parenting has been determined. If it is null then the dialog will not open until there is no modal shellblocking it. Parameters: blockedMonitor - The monitor that is currently blocked Parameters: reason - A status describing why the monitor is blocked Parameters: taskName - A name to give the blocking task in the dialog BlockedJobsDialog |
createButtonBar | protected Control createButtonBar(Composite parent)(Code) | | |
createDialogArea | protected Control createDialogArea(Composite parent)(Code) | | This method creates the dialog area under the parent composite.
Parameters: parent - The parent Composite. parent The parent Composite. |
getImage | protected Image getImage()(Code) | | |
getProgressMonitor | public IProgressMonitor getProgressMonitor()(Code) | | Returns the progress monitor being used for this dialog. This allows
recursive blockages to also respond to cancelation.
IProgressMonitor |
setBlockedTaskName | void setBlockedTaskName(String taskName)(Code) | | Parameters: taskName - The blockedTaskName to set. |
showJobDetails | void showJobDetails(Composite parent)(Code) | | This method creates a dialog area in the parent composite and displays a
progress tree viewer of the running jobs.
Parameters: parent - The parent Composite. |
|
|