-
Notifications
You must be signed in to change notification settings - Fork 0
/
EditListResponder.h
38 lines (31 loc) · 1.13 KB
/
EditListResponder.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
//
// EditListResponder.h
//
#import <Cocoa/Cocoa.h>
typedef struct EditListPrefKeys
{ NSString* data, *editShown, *panelFrame, *dragType; } EditListPrefKeys;
// Superclass for FavoriteWorkingCopies & RepositoriesController
@interface EditListResponder : NSResponder
{
IBOutlet NSWindow* fWindow;
IBOutlet NSTableView* fTableView;
IBOutlet NSBox* fEditBox;
IBOutlet NSArrayController* fAC;
NSMutableArray* fDataArray;
const EditListPrefKeys* fPrefKeys;
}
- (id) init: (const EditListPrefKeys*) prefsKeys;
- (id) newObject: (NSPasteboard*) pboard;
- (void) savePreferences;
- (void) awakeFromNib;
- (void) showWindow;
- (NSButton*) disclosureView;
- (NSTextField*) nameTextField;
- (void) keyDown: (NSEvent*) theEvent;
- (void) onDoubleClick: (id) sender; // subclass to implement
- (IBAction) toggleEdit: (id) sender;
- (IBAction) newItem: (id) sender; // subclass to implement
- (IBAction) removeItem: (id) sender; // subclass to implement
- (IBAction) openPath: (id) sender; // subclass to implement
- (IBAction) onValidate: (id) sender;
@end