Interface IPropUndoRedo

All Superinterfaces:
IDisposedPart
All Known Subinterfaces:
ITermEditor
All Known Implementing Classes:
CaptureEditor, ContextMenuEditor, DatabaseEditor, FontFacesEditor, ImageDefinitionEditor, PanelEditor, PropEditorPart, PropUndoRedoAdapter, RecordingEditor, ScreenEditor, SelectorEditor, ServerConfigComposite, StyleEditor, TextTableEditor, VirtualSpaceEditor, WebServiceEditor

public interface IPropUndoRedo extends IDisposedPart
Interface used for undo/redo operations in properties.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the shell.
    Gets the structured viewer (common, tree or table) used for the property operation (add, delete, etc).
    Gets the undo context.
    void
    Sets the structured viewer (common, tree or table) used for the property operation (add, delete, etc).
    void
    Updates the states of menu items and tool bars.

    Methods inherited from interface com.iizix.IDisposedPart

    isDisposed
  • Method Details

    • getShell

      Object getShell()
      Gets the shell.
      Returns:
      An object castable to org.eclipse.swt.widgets.Shell.
    • getUndoContext

      Object getUndoContext()
      Gets the undo context.
      Returns:
      An object castable to org.eclipse.core.commands.operations.IUndoContext.
    • updateStates

      void updateStates()
      Updates the states of menu items and tool bars.
    • setTargetViewer

      void setTargetViewer(Object viewer)
      Sets the structured viewer (common, tree or table) used for the property operation (add, delete, etc).
      Parameters:
      viewer - The CommonViewer, TreeViewer or TableViewer, or null for none.
    • getTargetViewer

      Object getTargetViewer()
      Gets the structured viewer (common, tree or table) used for the property operation (add, delete, etc).
      Returns:
      The CommonViewer, TreeViewer or TableViewer, or null for none.