Interface IApplicationEditorTask
-
public interface IApplicationEditorTask
The application editor task.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getName()
Returns the localized name of the task.boolean
isUndoable()
Returnstrue
if task can be undone.default void
redo(org.eclipse.core.runtime.IProgressMonitor monitor)
Redoes the taskvoid
run(org.eclipse.core.runtime.IProgressMonitor monitor)
Runs the task.void
undo(org.eclipse.core.runtime.IProgressMonitor monitor)
Undoes the task.
-
-
-
Method Detail
-
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()
Returnstrue
if task can be undone.- Returns:
true
if 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
.
-
-