01: package jimm.datavision.gui.cmd;
02:
03: import jimm.datavision.gui.Designer;
04:
05: /**
06: * Pasteable objects are what get put on the clipboard. They know how to paste
07: * themselves and how to undo that operation. Pasteables aren't commands. The
08: * {@link PasteCommand} needs to operate on whatever is in the clibpard but it
09: * can't know what to do with whatever is there, so it relies on pasteables to
10: * do the job.
11: *
12: * @author Jim Menard, <a href="mailto:jimm@io.com">jimm@io.com</a>
13: */
14: interface Pasteable {
15:
16: public void paste(Designer designer);
17:
18: public void undo(Designer designer);
19:
20: }
|