-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyWorkingCopyController.h
109 lines (87 loc) · 3.51 KB
/
MyWorkingCopyController.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
//----------------------------------------------------------------------------------------
// MyWorkingCopyController.h - Controller of the working copy browser
//
// Copyright © Chris, 2007 - 2010. All rights reserved.
//----------------------------------------------------------------------------------------
#import <Cocoa/Cocoa.h>
@class MyWorkingCopy, MySvnFilesArrayController, DrawerLogView, RepoItem;
/*" Controller of the working copy browser "*/
@interface MyWorkingCopyController : NSResponder
{
IBOutlet MyWorkingCopy* document;
IBOutlet MySvnFilesArrayController* svnFilesAC;
IBOutlet id window;
IBOutlet id splitView;
IBOutlet id progressIndicator;
IBOutlet NSControl* statusView;
IBOutlet id tableResult;
IBOutlet id outliner;
IBOutlet NSControl* modeView;
IBOutlet NSPopUpButton* filterView;
IBOutlet id commitPanel;
IBOutlet id commitPanelText;
IBOutlet id toolbar;
IBOutlet NSDrawer* sidebar;
IBOutlet DrawerLogView *drawerLogView;
IBOutlet NSPanel *renamePanel;
IBOutlet NSTextField *renamePanelTextField;
IBOutlet NSWindow* mergeSheet;
IBOutlet NSWindow* switchPanel;
IBOutlet NSTextField *switchPanelSourceTextField;
IBOutlet NSTextField *switchPanelDestinationTextField;
IBOutlet NSButton *switchPanelRelocateButton;
IBOutlet NSWindow* updateSheet;
BOOL updateInited;
BOOL svnStatusPending;
BOOL suppressAutoRefresh;
BOOL isDisplayingErrorSheet;
BOOL outlineInited; // has initialised outline view
BOOL fPrefsChanged;
float fTreeWidth;
NSMutableArray* fTreeExpanded; // expanded paths in tree view
NSArray* savedSelection; // used by save/restoreSelection
NSMutableDictionary* fDialogPrefs;
}
+ (void) presetDocumentName: name;
- (IBAction) changeFilter: (id) sender;
- (IBAction) performAction: (id) sender;
- (IBAction) revealInFinder: (id) sender;
- (IBAction) refresh: (id) sender;
- (IBAction) svnUpdate: (id) sender;
- (IBAction) diffBase: (id) sender;
- (IBAction) diffPrev: (id) sender;
- (IBAction) diffSheet: (id) sender;
- (IBAction) openRepository: (id) sender;
- (IBAction) toggleSidebar: (id) sender;
- (IBAction) changeMode: (id) sender;
- (IBAction) renamePanelValidate: (id) sender;
- (IBAction) switchPanelValidate: (id) sender;
- (IBAction) commitPanelValidate: (id) sender;
- (IBAction) commitPanelCancel: (id) sender;
- (int) currentMode;
- (void) setCurrentMode: (int) mode;
- (void) setStatusMessage: (NSString*) message;
- (void) keyDown: (NSEvent*) theEvent;
- (void) saveSelection;
- (void) restoreSelection;
- (void) selectionChanged;
- (void) calcTreeExpanded;
- (void) selectTreePath: (NSString*) treePath;
- (void) doubleClickInTableView: (id) sender;
- (void) adjustOutlineView;
- (void) openOutlineView;
- (void) closeOutlineView;
- (void) fetchSvnStatus;
- (void) fetchSvnInfo;
- (void) fetchSvnStatusVerboseReceiveDataFinished;
- (void) svnError: (NSString*) errorString;
- (void) startProgressIndicator;
- (void) stopProgressIndicator;
- (MyWorkingCopy*) document;
- (NSWindow*) window;
- (void) requestMergeFrom: (RepoItem*) repositoryPathObj;
- (void) requestSwitchToRepositoryPath: (RepoItem*) repositoryPathObj;
- (void) requestSvnRenameSelectedItemTo: (NSString*) destination;
- (void) requestSvnMoveSelectedItemsToDestination: (NSString*) destination;
- (void) requestSvnCopySelectedItemsToDestination: (NSString*) destination;
@end // MyWorkingCopyController