-
Notifications
You must be signed in to change notification settings - Fork 2
/
ScriptWindowControllerBase.h
48 lines (44 loc) · 1.6 KB
/
ScriptWindowControllerBase.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
//
// ScriptWindowControllerBase.h
// Pipe
//
// Created by RenŽ Puls on 14.03.05.
// Copyright 2005 RenŽ Puls. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <JaguarAppKit/JaguarAppKit.h>
#import <JaguarFoundation/JaguarFoundation.h>
@class DataView, VariablesTableController;
extern NSString * const ScriptArgumentsToolbarItemIdentifier;
JGDeclareStringName(ScriptRunToolbarItemIdentifier)
JGDeclareStringName(ScriptStopToolbarItemIdentifier)
JGDeclareStringName(ScriptReverseTransformationToolbarItemIdentifier)
JGDeclareStringName(ScriptOutputToInputToolbarItemIdentifier)
JGDeclareStringName(ScriptToggleInfoToolbarItemIdentifier)
@interface ScriptWindowControllerBase : NSWindowController {
@protected
IBOutlet NSObjectController *documentController;
IBOutlet NSSplitView *verticalSplitView;
IBOutlet NSSplitView *horizontalSplitView;
IBOutlet id inputTextView;
IBOutlet DataView *outputDataView;
IBOutlet NSDrawer *infoDrawer;
IBOutlet NSArrayController *variablesArrayController;
IBOutlet JGExtendedTableView *variablesTableView;
IBOutlet NSTextView *usageInfoTextView;
IBOutlet VariablesTableController *variablesTableController;
}
// Init and Cleanup
- (void)disconnectBindings;
// Actions
- (IBAction)focusInput:(id)sender;
- (IBAction)focusOutput:(id)sender;
- (IBAction)focusVariables:(id)sender;
- (IBAction)toggleInfoDrawer:(id)sender;
// Misc Stuff
- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)anItem;
- (BOOL)commitAllEditing;
- (void)discardAllEditing;
- (void)scriptDocumentWillRun:(NSNotification *)aNotification;
- (void)configureDataView:(DataView *)dataView;
@end