forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSCollectionInspectorView.h
47 lines (38 loc) · 1.39 KB
/
FSCollectionInspectorView.h
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
44
45
46
47
/* FSCollectionInspectorView.h Copyright (c) 1998-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import <Cocoa/Cocoa.h>
@class FSInterpreter;
@interface FSCollectionInspectorView : NSView
{
IBOutlet NSView *contentView;
IBOutlet NSTableView *tableView;
IBOutlet NSButton *modifyButton;
IBOutlet NSButton *removeButton;
IBOutlet NSButton *sortButton;
IBOutlet NSButton *inspectButton;
IBOutlet NSButton *narrowButton;
IBOutlet NSButton *browseButton;
IBOutlet id searchField;
id model;
NSArray *sortedModelArray;
NSArray *sortedExternals;
NSArray *filteredSortedModelArray;
NSArray *filteredSortedExternals;
NSTableColumn *sortColumn;
FSInterpreter *interpreter;
NSString *filterString;
}
+ (NSArray *)blocksForEntity:(NSEntityDescription *)entity interpreter:(FSInterpreter *)interpreter;
- (id) initWithFrame:(NSRect)frame;
- (void) setCollection:(id)theCollection interpreter:(FSInterpreter *)theInterpreter blocks:(NSArray *)blocks showExternals:(BOOL)showExternals;
// You can pass nil for blocks. In this case the view will use a default block set.
- (IBAction)add:(id)sender;
- (IBAction)browse:(id)sender;
- (IBAction)filter:(id)sender;
- (IBAction)inspect:(id)sender;
- (IBAction)modify:(id)sender;
- (IBAction)narrow:(id)sender;
- (IBAction)refresh:(id)sender;
- (IBAction)remove:(id)sender;
- (IBAction)sort:(id)sender;
@end