2 // NJMappingsController.h
5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
10 @
class NJOutputController
;
12 @interface NJMappingsController
: NSObject
<NSTableViewDataSource
,
14 NSOpenSavePanelDelegate
> {
15 IBOutlet NSButton
*removeButton
;
16 IBOutlet NSTableView
*tableView
;
17 IBOutlet NJOutputController
*outputController
;
20 @
property (nonatomic
, readonly
) NJMapping
*currentMapping
;
21 @
property (nonatomic
, readonly
) NSArray
*mappings
;
23 - (NJMapping
*)objectForKeyedSubscript
:(NSString
*)name
;
26 - (IBAction
)addPressed
:(id
)sender
;
27 - (IBAction
)removePressed
:(id
)sender
;
28 - (IBAction
)importPressed
:(id
)sender
;
29 - (IBAction
)exportPressed
:(id
)sender
;
30 - (void)activateMapping
:(NJMapping
*)mapping
;
31 - (void)activateMappingForProcess
:(NSString
*)processName
;