Interface IApplicationEditorTask
public interface IApplicationEditorTask
The application editor task.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the localized name of the task.booleanReturnstrueif task can be undone.default voidredo(org.eclipse.core.runtime.IProgressMonitor monitor) Redoes the taskvoidrun(org.eclipse.core.runtime.IProgressMonitor monitor) Runs the task.voidundo(org.eclipse.core.runtime.IProgressMonitor monitor) Undoes the task.
-
Method Details
-
getName
String getName()Returns the localized name of the task.- Returns:
- the localized name of the task, never
null.
-
run
void run(org.eclipse.core.runtime.IProgressMonitor monitor) Runs the task.- Parameters:
monitor- the progress monitor, cannot benull.
-
isUndoable
boolean isUndoable()Returnstrueif task can be undone.- Returns:
trueif task can be undone,false- otherwise.
-
undo
void undo(org.eclipse.core.runtime.IProgressMonitor monitor) Undoes the task.- Parameters:
monitor- the progress monitor, cannot benull.
-
redo
default void redo(org.eclipse.core.runtime.IProgressMonitor monitor) Redoes the task- Parameters:
monitor- the progress monitor, cannot benull.
-