ProjectManager  0.2
PaletteGeneralAttributes.h
1 /*
2  PaletteGeneralAttributes.h
3 
4  Interface declaration of the PaletteGeneralAttributes class for
5  the 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 PaletteProjectType;
27 
28 @class NSView;
29 
30 @class NSTableView, NSTableColumn;
31 
32 @interface PaletteGeneralAttributes : NSObject
33 {
34  // weak reference
35  PaletteProjectType * owner;
36 
37  id authors;
38  id bogusWindow;
39  id copyright;
40  id copyrightDescription;
41  id iconFilename;
42  id mainNibFile;
43  id view;
44  id principalClass;
45  id exportedClasses;
46 }
47 
48 - initWithOwner: (PaletteProjectType *) anOwner;
49 
50 - (void) addAuthor: (id)sender;
51 - (void) changeCopyright: (id)sender;
52 - (void) changeCopyrightDescription: (id)sender;
53 - (void) changeIconFilename: (id)sender;
54 - (void) changeMainNibFile: (id)sender;
55 - (void) changePrincipalClass: (id)sender;
56 - (void) moveAuthorUp: (id)sender;
57 - (void) moveAuthorDown: (id)sender;
58 - (void) removeAuthor: (id)sender;
59 
60 - (void) addExportedClass: sender;
61 - (void) removeExportedClass: sender;
62 
63 - (NSView *) view;
64 
65 - (int) numberOfRowsInTableView: (NSTableView *)aTableView;
66 - (id) tableView: (NSTableView *)aTableView
67 objectValueForTableColumn: (NSTableColumn *)aTableColumn
68  row: (int)rowIndex;
69 - (void) tableView: (NSTableView *)aTableView
70  setObjectValue: (id)anObject
71  forTableColumn: (NSTableColumn *)aTableColumn
72  row: (int)rowIndex;
73 
74 @end
+[ProjectType-p projectTypeID]
NSString * projectTypeID()
Should return the project type ID.
ProjectDocument
Definition: ProjectDocument.h:43
PaletteProjectType
Definition: PaletteProjectType.h:45
FrameworkGeneralAttributes
Definition: FrameworkGeneralAttributes.h:32
+[ProjectType-p projectTypeDescription]
NSString * projectTypeDescription()
Should return a more detailed description of the project type.
+[ProjectType-p projectTemplateDescriptions]
NSDictionary * projectTemplateDescriptions()
The project type should return a dictionary where keys are project template names and values are desc...
+[FrameworkProjectType(Private) loadCategoryIcons]
void loadCategoryIcons()
Loads all icons for standard categories.
Definition: FrameworkProjectType.m:118
-[ProjectType-p infoDictionary]
NSDictionary * infoDictionary()
Should return the project's info dictionary which is suitable for being written into the project file...
+[ProjectType-p projectTypeIcon]
NSImage * projectTypeIcon()
Should return an icon of the project type (max 48x48 pixels).
-[FrameworkProjectType(Private) prepareMakefile]
BOOL prepareMakefile()
Prepares the project's makefile.
Definition: FrameworkProjectType.m:139
SubprojectsManager::subprojectNames
NSMutableArray * subprojectNames
Returns absolute paths to all subprojects.
Definition: SubprojectsManager.h:70
+[ProjectType-p humanReadableProjectTypeName]
NSString * humanReadableProjectTypeName()
Should return a human-readable, perhaps localized descriptive name of the project type.
-[ProjectType-p regenerateDerivedFiles]
BOOL regenerateDerivedFiles()
Instructs the project to regenerate any of it's derived files, if necessary.
FrameworkProjectType(Private)
Definition: FrameworkProjectType.m:96
PaletteGeneralAttributes
Definition: PaletteGeneralAttributes.h:32
+[ProjectType-p projectModules]
NSArray * projectModules()
Should return an OR'ed set of project capabilities provided by this project type.
FrameworkProjectType
Definition: FrameworkProjectType.h:45
SubprojectsManager
This class is a manager of subprojects for a project.
Definition: SubprojectsManager.h:38
-[FrameworkProjectType(Private) prepareInfoFile]
BOOL prepareInfoFile()
Prepares the project's info-plist file.
Definition: FrameworkProjectType.m:429
-[SubprojectsManagerDelegate-p pathToSubprojectsDirectory]
NSString * pathToSubprojectsDirectory()
Asks the delegate to return an absolute path to the directory where the subprojects are to be stored.