-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMyDocument.h
executable file
·70 lines (55 loc) · 1.66 KB
/
MyDocument.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
//
// MyDocument.h
// TriPlot
//
// Created by Peter Appel on 12/09/2007.
// Copyright __MyCompanyName__ 2007 . All rights reserved.
//
/* MyDocument */
#import <Cocoa/Cocoa.h>
@class DiagramView;
@class Headers;
@class GraphicsArrayController;
@interface MyDocument : NSDocument
{
NSMutableDictionary *dict;
NSMutableArray *theLoadedSelArray;
NSString *aLab;
NSString *bLab;
NSString *cLab;
IBOutlet NSButton *connectCheckbox;
IBOutlet NSButton *showLabelsCheckbox;
IBOutlet id mainWindow;
IBOutlet id table;
IBOutlet DiagramView *diagramView;
IBOutlet GraphicsArrayController *graphicsController;
IBOutlet NSButton *updateButton;
IBOutlet NSTextField *textFieldA;
IBOutlet NSTextField *textFieldB;
IBOutlet NSTextField *textFieldC;
NSMutableArray *graphics;
IBOutlet NSPopUpButton *popup;
Headers *loadedHeader;
Headers *header;
BOOL containsData;
}
-(void)updateUI;
- (void)handleNotify:(NSNotification *)n;
-(void)setGraphics:(NSMutableArray *)aGraphics;
-(NSMutableArray *)graphics;
- (unsigned int)countOfGraphics;
- (id)objectInGraphicsAtIndex:(unsigned int)index;
- (void)insertObject:(id)anObject inGraphicsAtIndex:(unsigned int)index;
- (void)removeObjectFromGraphicsAtIndex:(unsigned int)index;
- (void)replaceObjectInGraphicsAtIndex:(unsigned int)index withObject:(id)anObject;
- (void)setLoadedHeader:(Headers *)x;
- (void)setHeader:(Headers *)x;
-(IBAction)savePDF:(id)sender;
-(IBAction)importTextFile:(id)sender;
-(IBAction)exportTextFile:(id)sender;
-(IBAction)updateLabels:(id)sender;
-(IBAction)connectPoints:(id)sender;
-(IBAction)showLabels:(id)sender;
-(void)updateCellHeaders;
-(void)writeRecordsToTextFile:(NSString *)path;
@end