| 714 |
iacus |
1 |
/*
|
|
|
2 |
* R.app : a Cocoa front end to: "R A Computer Language for Statistical Data Analysis"
|
|
|
3 |
*
|
|
|
4 |
* R.app Copyright notes:
|
| 1254 |
iacus |
5 |
* Copyright (C) 2004-5 The R Foundation
|
| 714 |
iacus |
6 |
* written by Stefano M. Iacus and Simon Urbanek
|
|
|
7 |
*
|
|
|
8 |
*
|
|
|
9 |
* R Copyright notes:
|
|
|
10 |
* Copyright (C) 1995-1996 Robert Gentleman and Ross Ihaka
|
|
|
11 |
* Copyright (C) 1998-2001 The R Development Core Team
|
|
|
12 |
* Copyright (C) 2002-2004 The R Foundation
|
|
|
13 |
*
|
|
|
14 |
* This program is free software; you can redistribute it and/or modify
|
|
|
15 |
* it under the terms of the GNU General Public License as published by
|
|
|
16 |
* the Free Software Foundation; either version 2 of the License, or
|
|
|
17 |
* (at your option) any later version.
|
|
|
18 |
*
|
|
|
19 |
* This program is distributed in the hope that it will be useful,
|
|
|
20 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
21 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
22 |
* GNU General Public License for more details.
|
|
|
23 |
*
|
|
|
24 |
* A copy of the GNU General Public License is available via WWW at
|
|
|
25 |
* http://www.gnu.org/copyleft/gpl.html. You can also obtain it by
|
|
|
26 |
* writing to the Free Software Foundation, Inc., 59 Temple Place,
|
|
|
27 |
* Suite 330, Boston, MA 02111-1307 USA.
|
|
|
28 |
*/
|
|
|
29 |
|
| 568 |
iacus |
30 |
/* DataManager */
|
|
|
31 |
|
| 5708 |
urbaneks |
32 |
#import "CCComp.h"
|
| 568 |
iacus |
33 |
|
|
|
34 |
@interface DataManager : NSObject
|
|
|
35 |
{
|
| 5729 |
urbaneks |
36 |
|
|
|
37 |
IBOutlet NSTableView *RDataSource;
|
| 568 |
iacus |
38 |
IBOutlet id dataInfoView;
|
| 5729 |
urbaneks |
39 |
IBOutlet NSSearchField *searchField;
|
|
|
40 |
IBOutlet NSButton *refreshButton;
|
|
|
41 |
IBOutlet NSButton *loadButton;
|
| 688 |
urbaneks |
42 |
NSWindow *DataManagerWindow;
|
| 5729 |
urbaneks |
43 |
|
|
|
44 |
NSMutableArray *datasets;
|
|
|
45 |
NSMutableArray *filteredDatasets;
|
|
|
46 |
|
|
|
47 |
NSInteger sortMode;
|
|
|
48 |
NSString *sortedColumn;
|
|
|
49 |
|
| 568 |
iacus |
50 |
}
|
|
|
51 |
|
| 5729 |
urbaneks |
52 |
+ (DataManager*) sharedController;
|
|
|
53 |
|
| 568 |
iacus |
54 |
- (IBAction)loadRData:(id)sender;
|
|
|
55 |
- (IBAction)showHelp:(id)sender;
|
| 5729 |
urbaneks |
56 |
- (IBAction)reloadDatasets:(id)sender;
|
|
|
57 |
- (IBAction)filterTable:(id)sender;
|
| 5737 |
urbaneks |
58 |
- (IBAction)executeSelection:(id)sender;
|
| 5705 |
urbaneks |
59 |
|
| 5729 |
urbaneks |
60 |
- (void)show;
|
|
|
61 |
- (NSWindow*)window;
|
| 568 |
iacus |
62 |
|
| 5729 |
urbaneks |
63 |
- (void)resetDatasets;
|
|
|
64 |
- (void)updateDatasets:(int)count withNames:(char**)name descriptions:(char**)desc packages:(char**)pkg URLs:(char**)url;
|
|
|
65 |
- (NSInteger)count;
|
|
|
66 |
- (void)enableGUIActions:(BOOL)enabled;
|
| 688 |
urbaneks |
67 |
|
| 568 |
iacus |
68 |
@end
|
|
|
69 |
|