24 #import <AppKit/NSDocument.h>
36 extern NSString *
const ProjectNameDidChangeNotification;
38 extern NSString *
const ProjectDocumentErrorDomain;
40 ProjectNameInvalidError
61 + (BOOL) validateProjectName: (NSString *) aProjectName
62 error: (NSError **) error;
64 - (NSArray *) projectMenuEntries;
66 - (NSString *) projectName;
67 - (void) setProjectName: (NSString *) aName;
69 - (NSString *) projectDirectory;
70 - (void) setProjectName: (NSString *) projectName;
72 - (NSString *) projectTypeID;
75 - (NSArray *) projectModules;
76 - (
id <
ProjectModule>) projectModuleWithName: (NSString *) moduleName;
78 - (void) setCurrentProjectModule: (
id <
ProjectModule>) aModule;
81 - (BOOL) openFile: (NSString *) aPath inCodeEditorOnLine: (
int) aLine;
83 - (void) logMessage: (NSString *) aMessage;
Definition: ProjectWindowController.h:39
BOOL validateProjectName:error:(NSString *aProjectName,[error] NSError **error)
Checks whether a given string is a valid project name.
Definition: ProjectDocument.m:196
ProjectTypeDescription * parent
Returns the parent type description which contains this template description.
Definition: ProjectTemplateDescription.h:36
Definition: ProjectTypeLoader.h:31
id< ProjectType > projectType
Returns the project type object associated currently with the project.
Definition: ProjectDocument.h:48
Definition: ProjectDocument.h:43
The description of a project type.
Definition: ProjectTypeDescription.h:31
This protocol declares methods which project modules must implement.
Definition: ProjectModule.h:44
NSArray * moduleMenuEntries
An array of menu items of project modules which are to appear in the Modules menu.
Definition: ProjectDocument.h:56
NSString * projectDirectory
Returns a path to where the project's directory is located.
Definition: ProjectDocument.h:45
NSString * name
Returns the receiver's template's name.
Definition: ProjectTemplateDescription.h:33
NSString * name()
Returns the name of the receiver's project type.
Definition: ProjectTypeDescription.m:70
NSString * projectTypeID
Returns the type ID of the project's project type.
Definition: ProjectDocument.h:47
NSArray * projectModules
Returns the project modules of the receiver.
Definition: ProjectDocument.h:50
id shared()
Returns a shared instance of a ProjectTypeLoader.
Definition: ProjectTypeLoader.m:38
Class projectType()
Returns the class from which this type description has been generated.
Definition: ProjectTypeDescription.m:127
This protocol is adopted by project type support objects.
Definition: ProjectType.h:40
NSString * projectName
Returns the abstract project name.
Definition: ProjectDocument.h:46
A project template description.
Definition: ProjectTemplateDescription.h:31
Definition: ProjectCreator.h:39