Interface IPropUndoRedo

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.ObjectgetShell()
      Gets the shell.
      java.lang.ObjectgetTargetViewer()
      Gets the structured viewer (common, tree or table) used for the property operation (add, delete, etc).
      java.lang.ObjectgetUndoContext()
      Gets the undo context.
      voidsetTargetViewer​(java.lang.Object viewer)
      Sets the structured viewer (common, tree or table) used for the property operation (add, delete, etc).
      voidupdateStates()
      Updates the states of menu items and tool bars.
    • Method Detail

      • getShell

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

        java.lang.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​(java.lang.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

        java.lang.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.