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

  1. #import "drawundo.h"
  2.  
  3. @interface ArrowGraphicsChange(PrivateMethods)
  4.  
  5. @end
  6.  
  7. @implementation ArrowGraphicsChange
  8.  
  9. - initGraphicView:aGraphicView lineArrow:(int)anArrowValue
  10. {
  11.     [super initGraphicView:aGrcView];
  12.     arrowValue = anArrowValue;
  13.     return self;
  14. }
  15.  
  16. - (const char *)changeName
  17. {
  18.     return NXLocalStringFromTable("Operations", "Arrows", NULL, "The operation of adding or removing arrows from a line.");
  19. }
  20.  
  21. - changeDetailClass
  22. {
  23.     return [ArrowChangeDetail class];
  24. }
  25.  
  26. - (int)lineArrow
  27. {
  28.     return arrowValue;
  29. }
  30.  
  31. @end
  32.