5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
10 @
class TargetController
;
12 @interface ConfigsController
: NSObject
<NSTableViewDataSource
, NSTableViewDelegate
, NSOpenSavePanelDelegate
> {
13 IBOutlet NSButton
*removeButton
;
14 IBOutlet NSTableView
*tableView
;
15 IBOutlet TargetController
*targetController
;
16 IBOutlet NSButton
*exportButton
;
19 @
property (readonly
) Config
*currentConfig
;
20 @
property (readonly
) NSArray
*configs
;
22 - (Config
*)objectForKeyedSubscript
:(NSString
*)name
;
25 - (IBAction
)addPressed
:(id
)sender
;
26 - (IBAction
)removePressed
:(id
)sender
;
27 - (IBAction
)importPressed
:(id
)sender
;
28 - (IBAction
)exportPressed
:(id
)sender
;
29 - (void)activateConfig
:(Config
*)config
;
30 - (void)activateConfigForProcess
:(NSString
*)processName
;