24#import <AppKit/NSDocument.h>
34@protocol ProjectType, ProjectModule;
36extern NSString *
const ProjectNameDidChangeNotification;
38extern 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;
73- (
id <ProjectType>) projectType;
75- (NSArray *) projectModules;
76- (
id <ProjectModule>) projectModuleWithName: (NSString *) moduleName;
78- (void) setCurrentProjectModule: (
id <ProjectModule>) aModule;
79- (
id <ProjectModule>) currentProjectModule;
81- (BOOL) openFile: (NSString *) aPath inCodeEditorOnLine: (
int) aLine;
83- (void) logMessage: (NSString *) aMessage;
This class is the principal document class for project files.
Definition ProjectDocument.h:44
NSArray * projectModules
Returns the project modules of the receiver.
Definition ProjectDocument.h:50
NSArray * moduleMenuEntries
An array of menu items of project modules which are to appear in the Modules menu.
Definition ProjectDocument.h:56
id< ProjectType > projectType
Returns the project type object associated currently with the project.
Definition ProjectDocument.h:48
NSString * projectName
Returns the abstract project name.
Definition ProjectDocument.h:46
NSString * projectTypeID
Returns the type ID of the project's project type.
Definition ProjectDocument.h:47
NSString * projectDirectory
Returns a path to where the project's directory is located.
Definition ProjectDocument.h:45
Definition ProjectWindowController.h:40