public interface IRepeatableAction
| Modifier and Type | Interface and Description |
|---|---|
static class |
IRepeatableAction.WorkIndicatorType
Enumerated type for work indicator type
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel()
Retrieves the label for this repeatable action.
|
IRepeatableAction.WorkIndicatorType |
getWorkIndicatorType()
Gets type of work indicator (progress monitor, hourglass, or none).
|
boolean |
isRepeatable()
Retrieves a Boolean indicating whether this repeatable action can be
repeated.
|
boolean |
isRunnable()
Retrieves a Boolean indicating whether this repeatable action can be
run.
|
void |
refresh()
Refreshes various aspects of this repeatable action, such as its label
and whether or not it is enabled.
|
void |
repeat(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Re-runs this repeatable action.
|
void |
run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Runs this repeatable action.
|
boolean |
setup()
Sets up the action.
|
java.lang.String getLabel()
boolean isRepeatable()
true if this repeatable action can be repeated;
false otherwise.boolean isRunnable()
true if this repeatable action can be run;
false otherwise.void refresh()
boolean setup()
run(IProgressMonitor) is called.true if the setup completed successfully,
false otherwise.void repeat(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
IRepeatableAction.WorkIndicatorType getWorkIndicatorType()