1 package jimm.datavision.gui.cmd; 2 import jimm.datavision.gui.Designer; 3 4 /** 5 * Pasteable objects are what get put on the clipboard. They know how to paste 6 * themselves and how to undo that operation. Pasteables aren't commands. The 7 * {@link PasteCommand} needs to operate on whatever is in the clibpard but it 8 * can't know what to do with whatever is there, so it relies on pasteables to 9 * do the job. 10 * 11 * @author Jim Menard, <a HREF="mailto:jimm@io.com">jimm@io.com</a> 12 */ 13 interface Pasteable { 14 15 public void paste(Designer designer); 16 public void undo(Designer designer); 17 18 } 19