summaryrefslogtreecommitdiffstats
path: root/Frameworks/LiPlugin/LiFilterDescription.h
blob: a26736e885631d098a52249f9275b1b47d60d688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
//  LiFilterDescription.h
//  LiFrameworks
//
//  Created by Brian Cully on Sat Aug 23 2003.
//  Copyright (c) 2003 Brian Cully. All rights reserved.
//

@interface LiFilterDescription : NSObject
{
    NSCell *theValueEditorCell;
    NSDictionary *theCompareOperators;
    NSString *theName;
    SEL theMethod;
}
+ (id)descriptionForMethod: (SEL)aMethod
                      name: (NSString *)aName
          compareOperators: (NSDictionary *)someOperators
           valueEditorCell: (NSCell *)aCell;

- (id)initWithMethod: (SEL)aMethod
                name: (NSString *)aName
    compareOperators: (NSDictionary *)someOperators
     valueEditorCell: (NSCell *)aCell;
@property (getter=method,setter=setMethod:) SEL theMethod;
@property (retain,getter=name) NSString *theName;
@property (retain,getter=valueEditorCell) NSCell *theValueEditorCell;
@property (retain,getter=compareOperators) NSDictionary *theCompareOperators;
@end

@interface LiFilterDescription (Accessors)
- (SEL)method;
- (void)setMethod: (SEL)aMethod;
- (NSString *)name;
- (void)setName: (NSString *)aName;
- (NSDictionary *)compareOperators;
- (void)setCompareOperators: (NSDictionary *)someOperators;
- (NSCell *)valueEditorCell;
- (void)setValueEditorCell: (NSCell *)aCell;
@end