-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDiagramView.h
executable file
·73 lines (62 loc) · 1.75 KB
/
DiagramView.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
/* DiagramView */
#import <Cocoa/Cocoa.h>
@class Symbol;
@class Headers;
@class SelData;
@interface DiagramView : NSView
{
NSMutableArray *selArray;
IBOutlet NSTableView *selTable;
NSArray *oldGraphics;
BOOL showTicks;
IBOutlet NSArrayController *symbolController;
IBOutlet NSWindow *window;
IBOutlet NSMenu *zoomMenu;
BOOL saveable;
BOOL connectPointsYN;
BOOL showLabelsYN;
NSMutableDictionary *bindingInfo;
// NSString *string;
NSMutableDictionary *attributes;
NSString *aString;
NSString *bString;
NSString *cString;
// Headers *header;
}
-(IBAction)createSel:(id)sender;
-(IBAction)deleteSelectedSel:(id)sender;
-(IBAction)zoomLevel:(id)sender;
- (void)broadcastSelAdd;
- (void)broadcastSelRemoved;
-(void)tableViewSelectionDidChange:(NSNotification *)aNotification;
-(void)updateSel;
-(void)prepareAttributes;
// Getter & Setter Methods
-(NSArray *)oldGraphics;
-(void)setOldGraphics:(NSArray *)anOldGraphics;
-(void)setShowLabelsYN:(BOOL)sender;
-(BOOL)showLabelsYN;
-(BOOL)connectPointsYN;
-(void)setConnectPointsYN:(BOOL)sender;
-(void)setSelArray:(NSMutableArray *)aSelArray;
-(NSMutableArray *)selArray;
-(void)setaString:(NSString *)x;
-(NSString *)aString;
-(void)setbString:(NSString *)x;
-(NSString *)bString;
-(void)setcString:(NSString *)x;
-(NSString *)cString;
-(void) setTicks:(id)sender;
-(BOOL)saveable;
-(void)setSaveable:(BOOL)yn;
// bindings-related -- infoForBinding and convenience methods
-(NSDictionary *)infoForBinding:(NSString *)bindingName;
-(id)graphicsContainer;
-(NSString *)graphicsKeyPath;
-(id)selectionIndexesContainer;
-(NSString *)selectionIndexesKeyPath;
-(NSArray *)graphics;
-(NSIndexSet *)selectionIndexes;
-(void)startObservingGraphics:(NSArray *)graphics;
-(void)stopObservingGraphics:(NSArray *)graphics;
@end