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()
      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 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 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.