Class ApplicationEditorTasks
- java.lang.Object
-
- com.e1c.g5.dt.applications.ui.editor.ApplicationEditorTasks
-
public final class ApplicationEditorTasks extends Object
The helper class for simplifiedIApplicationEditorTaskcreation.- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IApplicationEditorTaskcreateTask(String name, Consumer<org.eclipse.core.runtime.IProgressMonitor> task)CreatesIApplicationEditorTask.static IApplicationEditorTaskcreateTask(String name, Consumer<org.eclipse.core.runtime.IProgressMonitor> task, Consumer<org.eclipse.core.runtime.IProgressMonitor> undoTask)Creates undoableIApplicationEditorTask.
-
-
-
Method Detail
-
createTask
public static IApplicationEditorTask createTask(String name, Consumer<org.eclipse.core.runtime.IProgressMonitor> task, Consumer<org.eclipse.core.runtime.IProgressMonitor> undoTask)
Creates undoableIApplicationEditorTask.- Parameters:
name- the localized name of the task, cannot benull.task- the task, cannot benull.undoTask- the undo task ornullif 'undo' is not allowed.- Returns:
- an
IApplicationEditorTaskinstance, nevernull.
-
createTask
public static IApplicationEditorTask createTask(String name, Consumer<org.eclipse.core.runtime.IProgressMonitor> task)
CreatesIApplicationEditorTask.- Parameters:
name- the localized name of the task, cannot benull.task- the task, cannot benull.- Returns:
- an
IApplicationEditorTaskinstance, nevernull.
-
-