home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Examples / AppKit / Draw / graphicsUndo.subproj / GraphicsChange.h < prev    next >
Text File  |  1992-02-09  |  793b  |  35 lines

  1. /*
  2.  * Please refer to external documentation about Draw
  3.  * with Undo for information about what GraphicsChange 
  4.  * is and where it fits in.
  5.  */
  6.  
  7. @interface GraphicsChange : Change
  8. {
  9.     id graphicView;        /* the view this change is done in */
  10.     List *changeDetails;    /* instances of ChangeDetail used to
  11.                        record information about the state
  12.                    particular graphics invoT in the
  13.                    change */
  14.     List *graphics;        /* the graphics involved in the change,
  15.                        usually the graphics that were 
  16.                    selected at the time of the change */
  17. }
  18.  
  19. /* Initializing and Freeing a GraphicsChange */
  20.  
  21. - initGraphicView:aGraphicView;
  22. - free;
  23.  
  24. /* Methods overridden from Change */
  25.  
  26. - saveBeforeChange;
  27. - undoChange;
  28. - redoChange;
  29.  
  30. /* Other public methods */
  31.  
  32. - changeDetailClass;
  33.  
  34. @end
  35.