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

  1. /* SwitchViewInspector.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.  
  10. #import <appkit/appkit.h>
  11. #import <apps/InterfaceBuilder.h>
  12. #import "SwitchView.h"
  13.  
  14. // Category of SwitchView that does the inspector-specific stuff
  15. @interface SwitchView (AttributesInspector)
  16.  
  17. - (const char *)getInspectorClassName;
  18.  
  19. @end
  20.  
  21. // An IB inspector for SwitchView
  22. @interface SwitchViewInspector:IBInspector
  23. {
  24.     id     messageTypeField;    // field that displays actual callback method
  25.     id     messageHowMatrix;    // automatic/custom choice matrix
  26.     id     initialField;        // field with initial view number
  27. }
  28.  
  29. - init;
  30. - ok:sender;
  31. - revert:sender;
  32. - (BOOL)wantsButtons;
  33.  
  34. @end
  35.