forked from ccjensen/expandrive-nl-plugin
/
ExpanDriveOptionSheetController.h
51 lines (38 loc) · 1.33 KB
/
ExpanDriveOptionSheetController.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
//
// ExpanDriveOptionSheetController.h
// ExpanDriveNLPlugin
//
// Created by Christopher Campbell Jensen on 10/26/10.
//
#import <Cocoa/Cocoa.h>
#import "SKOptionSheetController.h"
#import "ScriptBridge.h"
@interface ExpanDriveOptionSheetController : SKOptionSheetController <NSTabViewDelegate> {
ScriptBridgeExpanDrive *expanDrive;
NSArray *drives;
NSArray *properties;
IBOutlet NSTabView *tabView;
IBOutlet NSButton *saveButton;
//single
IBOutlet NSMatrix *singleActionTypeMatrix;
IBOutlet NSPopUpButton *drivenamesPopupButton;
//multiple
IBOutlet NSMatrix *multipleActionTypeMatrix;
IBOutlet NSPopUpButton *drivepropertyPopupButton;
IBOutlet NSTextField *drivecontainsTextField;
//all
IBOutlet NSMatrix *allActionTypeMatrix;
}
- (void)resetControlsToOptions:(NSDictionary *)selectedOptions;
- (IBAction)save:(id)sender;
- (void)updateSubmitState:(NSNumber *)tabIdentifier;
- (void)populateDriveNamesPopupButton;
- (void)populateDrivepropertyPopupButton;
- (SBElementArray *)retrieveDrives;
- (NSArray *)retrieveDiskProperties;
- (IBAction)actionChanged:(id)sender;
- (NSNumber *)valueOfActionMatrix;
- (NSString *)valueOfDrivenamePopupButton:(int)selectedTabIdentifier;
- (NSString *)valueOfDrivecontainsTextField:(int)selectedTabIdentifier;
- (NSString *)valueOfDrivepropertyPopupButton:(int)selectedTabIdentifier;
@end