home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / Palettes / TTools / TToolsPalette / Strings.subproj / StringInspector.h < prev    next >
Encoding:
Text File  |  1993-11-09  |  690 b   |  36 lines

  1. /* StringInspector.h
  2.  * Written By:  Thomas Burkholder
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  */
  8.  
  9. #import <appkit/appkit.h>
  10. #import <apps/InterfaceBuilder.h>
  11. #import "String.h"
  12. #import "StringAgent.h"
  13.  
  14. // Category of String that does the inspector-specific stuff
  15. @interface String (AttributesInspector)
  16.  
  17. - (const char *)getInspectorClassName;
  18. - (NXImage *)getIBImage;
  19.  
  20. @end
  21.  
  22. @interface StringAgent (IBImageCategory)
  23.  
  24. - (NXImage *)getIBImage;
  25.  
  26. @end
  27.  
  28. @interface StringInspector:IBInspector
  29. {
  30.     id    valueField;
  31. }
  32.  
  33. - revertInspector:sender;
  34.  
  35. @end
  36.