Interface IApplicationEditorTask


public interface IApplicationEditorTask
The application editor task.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the localized name of the task.
    boolean
    Returns true if task can be undone.
    default void
    redo(org.eclipse.core.runtime.IProgressMonitor monitor)
    Redoes the task
    void
    run(org.eclipse.core.runtime.IProgressMonitor monitor)
    Runs the task.
    void
    undo(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 be null.
    • isUndoable

      boolean isUndoable()
      Returns true 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 be null.
    • redo

      default void redo(org.eclipse.core.runtime.IProgressMonitor monitor)
      Redoes the task
      Parameters:
      monitor - the progress monitor, cannot be null.