|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface for all actions that could potentially be run with a progress indicator.
| Nested Class Summary | |
static class |
IActionWithProgress.WorkIndicatorType
Enumerated type for work indicator type |
| Method Summary | |
java.lang.String |
getLabel()
Retrieves the label for this action. |
IActionWithProgress.WorkIndicatorType |
getWorkIndicatorType()
Gets type of work indicator (progress monitor, hourglass, or none). |
boolean |
isRunnable()
Retrieves a Boolean indicating whether this action can be run. |
void |
refresh()
Refreshes various aspects of this action, such as its label and whether or not it is enabled. |
void |
run(IProgressMonitor progressMonitor)
Runs this action. |
boolean |
setup()
Sets up the action. |
| Method Detail |
public java.lang.String getLabel()
public boolean isRunnable()
true if this action can be run;
false otherwise.public void refresh()
public boolean setup()
IActionWithProgress.run(IProgressMonitor) is called.
true if the setup completed successfully,
false otherwise.public void run(IProgressMonitor progressMonitor)
progressMonitor - IProgressMonitor monitoring the execution of this actionpublic IActionWithProgress.WorkIndicatorType getWorkIndicatorType()
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.