ProjectManager 0.2
ApplicationTypeAttributes.h
1/*
2 ApplicationTypeAttribubtes.h
3
4 Interface declaration of the ApplicationTypeAttributes class for the
5 ProjectManager application.
6
7 Copyright (C) 2005, 2006 Saso Kiselkov
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22*/
23
24#import <Foundation/NSObject.h>
25
26@class NSMutableArray, ProjectDocument;
27@class NSTableView, NSTableColumn, NSView;
28
29@interface ApplicationTypeAttributes : NSObject
30{
31 NSMutableArray * typeInfo;
32
33 // weak reference
34 ProjectDocument * document;
35
36 id bogusWindow;
37 id description;
38 id documentClass;
39 id icon;
40 id iconFilename;
41 id extensions;
42 id table;
43 id view;
44}
45
46- initWithTypesArray: (NSMutableArray *) types
47 document: (ProjectDocument *) doc;
48
49- (void) add: (id)sender;
50- (void) changeDescription: (id)sender;
51- (void) changeDocumentClass: (id)sender;
52- (void) changeIconFilename: (id)sender;
53- (void) changeExtensions: (id)sender;
54- (void) remove: (id)sender;
55
56- (void) showType: sender;
57
58- (NSView *) view;
59
60- (int) numberOfRowsInTableView: (NSTableView *)aTableView;
61- (id) tableView: (NSTableView *)aTableView
62objectValueForTableColumn: (NSTableColumn *)aTableColumn
63 row: (int)rowIndex;
64- (void) tableView: (NSTableView *)aTableView
65 setObjectValue: (id)anObject
66 forTableColumn: (NSTableColumn *)aTableColumn
67 row: (int)rowIndex;
68
69@end
Definition ApplicationTypeAttributes.h:30
This class is the principal document class for project files.
Definition ProjectDocument.h:44