home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / Palettes / MORegex / MORegexFormCellInspector.h < prev    next >
Encoding:
Text File  |  1993-09-19  |  1.7 KB  |  61 lines

  1. // MORegexFormCellInspector.h
  2. //
  3. // by Mike Ferris
  4. // Part of MOKit - MORegexPalette
  5. // Copyright 1993, all rights reserved.
  6.  
  7. // ABOUT MOKit
  8. // 
  9. // MOKit is a collection of useful and general objects.  Permission is 
  10. // granted by the author to use MOKit in your own programs in any way 
  11. // you see fit.  All other rights to the kit are reserved by the author 
  12. // including the right to sell these objects as part of a LIBRARY or as 
  13. // SOURCE CODE.  In plain English, I wish to retain rights to these 
  14. // objects as objects, but allow the use of the objects as pieces in a 
  15. // fully functional program.  NO WARRANTY is expressed or implied.  The author 
  16. // will under no circumstances be held responsible for ANY consequences to 
  17. // you from the use of these objects.  Since you don't have to pay for 
  18. // them, and full source is provided, I think this is perfectly fair.
  19.  
  20. // ABOUT MORegexFormCellInspector
  21. //
  22. // Handles the inspector for a RegexFormCell.  It allows setting of the tag
  23. // and allowEmptyString flag.  It lets the cell be enabled or disabled, and
  24. // it allows the definition of a set of pattern strings for the cell to match.
  25.  
  26. #import <appkit/appkit.h>
  27.  
  28. #import <apps/InterfaceBuilder.h>
  29.  
  30. @interface MORegexFormCellInspector:IBInspector
  31. {
  32.     id    checkboxMatrix;
  33.     id    patternBrowser;
  34.     id    patternButtonMatrix;
  35.     id    patternText;
  36.     id    tagForm;
  37. }
  38.  
  39. + initialize;
  40.  
  41. - init;
  42.  
  43. - (int)browserSelectedRow;
  44. - enablePatternButtons;
  45.  
  46. - browserAction:sender;
  47.  
  48. - patternButtonAction:sender;
  49.  
  50. - ok:sender;
  51. - revert:sender;
  52.  
  53. - (BOOL)wantsButtons;
  54.  
  55. - (int)browser:sender fillMatrix:matrix inColumn:(int)column;
  56.  
  57. - textDidGetKeys:sender isEmpty:(BOOL)flag;
  58. - textDidChange:sender;
  59.  
  60. @end
  61.