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

  1. /* SwitchViewConnectInspector.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 "SwitchView.h"
  12.  
  13. // Category of SwitchView that does the connections-specific stuff
  14. @interface SwitchView (ConnectionsInspector)
  15.  
  16. -(const char *)getConnectInspectorClassName;
  17.  
  18. @end
  19.  
  20. // Connection inspector for the SwitchView class
  21. @interface SwitchViewConnectInspector:IBInspector
  22. {
  23.     id browser;          // The matrix of ButtonCells showing object class
  24.     id connectButton;    // The connect/disconnect button.
  25.     id connectorList;    // The list of connectors that we show
  26. }
  27.  
  28. - init;
  29. - selectConnection:sender;  // action of the matrix
  30. - ok:sender;
  31. - revert:sender;
  32. - (BOOL)wantsButtons;
  33.  
  34. @end
  35.