1 15 16 package swingwtx.swing.undo; 17 18 24 public interface UndoableEdit 25 { 26 public void undo() throws CannotUndoException; 27 public boolean canUndo(); 28 public void redo() throws CannotRedoException; 29 public boolean canRedo(); 30 public void die(); 31 public boolean addEdit(UndoableEdit anEdit); 32 public boolean replaceEdit(UndoableEdit anEdit); 33 public boolean isSignificant(); 34 public String getPresentationName(); 35 public String getUndoPresentationName(); 36 public String getRedoPresentationName(); 37 } 38 | Popular Tags |