summaryrefslogtreecommitdiffstats
path: root/Liaison/GroupTableDelegate.h
blob: d31ef4289db08457ebf5cb38d12d7397d1b90660 (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
41
42
43
/* GroupTableDelegate */

@class Group;
@class FileTableDelegate;
@class WindowController;

@interface GroupTableDelegate : NSObject
{
    IBOutlet NSOutlineView *outlineView;
    IBOutlet NSTextField *statusLine;
    IBOutlet WindowController *theWindow;
    IBOutlet FileTableDelegate *theFileDelegate;
    IBOutlet NSMenu *theContextMenu;

    Group *theGroup;
    Group *theSelectedGroup;

    NSEvent *theMouseDownEvent;
}
- (IBAction)addGroup:(id)sender;

- (NSSize)minSize;
- (void)respondToFileStoreChanged: (NSNotification *)aNotification;

- (BOOL)validateAction: (SEL)anAction;

- (void)highlightDefaultGroup;
@property (retain,getter=group) Group *theGroup;
@property (retain) NSEvent *theMouseDownEvent;
@property (retain) NSTextField *statusLine;
@property (retain) FileTableDelegate *theFileDelegate;
@property (retain) NSMenu *theContextMenu;
@property (retain,getter=selectedGroup) Group *theSelectedGroup;
@property (retain) NSOutlineView *outlineView;
@property (retain) WindowController *theWindow;
@end

@interface GroupTableDelegate (Accessors)
- (Group *)group;
- (void)setGroup: (Group *)aGroup;
- (Group *)selectedGroup;
- (void)setSelectedGroup: (Group *)aGroup;
@end