Class AbstractUndoableEdit

    • Constructor Detail

      • AbstractUndoableEdit

        public AbstractUndoableEdit()
    • Method Detail

      • getUndoDescription

        public String getUndoDescription()
        Description copied from interface: UndoableEdit
        Returns a localized, human-readable description of the undoable form of this edit, suitable for use as an Undo menu item, for example.
        Specified by:
        getUndoDescription in interface UndoableEdit
        Returns:
        a description of the undoable form of this edit
      • getRedoDescription

        public String getRedoDescription()
        Description copied from interface: UndoableEdit
        Returns a localized, human-readable description of the redoable form of this edit, suitable for use as a Redo menu item, for example.
        Specified by:
        getRedoDescription in interface UndoableEdit
        Returns:
        a description of the redoable form of this edit
      • getDescription

        protected abstract String getDescription()
        Return a presentation name fragment suitable for use both in an "undo something" and "redo something" style phrase.
        Returns:
        a "something" fragment