home *** CD-ROM | disk | FTP | other *** search
- // MORegexFormCellInspector.h
- //
- // by Mike Ferris
- // Part of MOKit - MORegexPalette
- // Copyright 1993, all rights reserved.
-
- // ABOUT MOKit
- //
- // MOKit is a collection of useful and general objects. Permission is
- // granted by the author to use MOKit in your own programs in any way
- // you see fit. All other rights to the kit are reserved by the author
- // including the right to sell these objects as part of a LIBRARY or as
- // SOURCE CODE. In plain English, I wish to retain rights to these
- // objects as objects, but allow the use of the objects as pieces in a
- // fully functional program. NO WARRANTY is expressed or implied. The author
- // will under no circumstances be held responsible for ANY consequences to
- // you from the use of these objects. Since you don't have to pay for
- // them, and full source is provided, I think this is perfectly fair.
-
- // ABOUT MORegexFormCellInspector
- //
- // Handles the inspector for a RegexFormCell. It allows setting of the tag
- // and allowEmptyString flag. It lets the cell be enabled or disabled, and
- // it allows the definition of a set of pattern strings for the cell to match.
-
- #import <appkit/appkit.h>
-
- #import <apps/InterfaceBuilder.h>
-
- @interface MORegexFormCellInspector:IBInspector
- {
- id checkboxMatrix;
- id patternBrowser;
- id patternButtonMatrix;
- id patternText;
- id tagForm;
- }
-
- + initialize;
-
- - init;
-
- - (int)browserSelectedRow;
- - enablePatternButtons;
-
- - browserAction:sender;
-
- - patternButtonAction:sender;
-
- - ok:sender;
- - revert:sender;
-
- - (BOOL)wantsButtons;
-
- - (int)browser:sender fillMatrix:matrix inColumn:(int)column;
-
- - textDidGetKeys:sender isEmpty:(BOOL)flag;
- - textDidChange:sender;
-
- @end
-