ProjectManager
0.2
|
Instance Methods | |
(void) | - setMainNibFile: |
(NSString *) | - mainNibFile |
(void) | - setPrincipalClass: |
(NSString *) | - principalClass |
(void) | - setAuthors: |
(NSArray *) | - authors |
(void) | - setCopyright: |
(NSString *) | - copyright |
(void) | - setCopyrightDescription: |
(NSString *) | - copyrightDescription |
(void) | - setIconName: |
(NSString *) | - iconName |
(void) | - setExportedClasses: |
(NSArray *) | - exportedClasses |
![]() | |
(id) | - initWithDocument:infoDictionary:projectModules: |
Designated initializer. More... | |
(NSDictionary *) | - infoDictionary |
Should return the project's info dictionary which is suitable for being written into the project file when saving. More... | |
(BOOL) | - regenerateDerivedFiles |
Instructs the project to regenerate any of it's derived files, if necessary. More... | |
(NSString *) | - pathToSubprojectsDirectory |
In case the project type supports subprojects, this method should return a path to a directory where subprojects of the project can be stored. More... | |
![]() | |
(NSArray *) | - tabIdentifiersForProjectAttributes: |
Asks the delegate to return a list of attributes tab identifiers. More... | |
(NSString *) | - projectAttributes:toolbarItemLabelForTabIdentifier: |
Asks the delegate to provide a label for it's tab toolbar item. More... | |
(NSString *) | - projectAttributes:toolbarItemToolTipForTabIdentifier: |
Asks the delegate to provide a tool tip for it's tab toolbar item. More... | |
(NSImage *) | - projectAttributes:toolbarItemIconForTabIdentifier: |
Asks the delegate to provide an icon for it's tab toolbar item. More... | |
(NSView *) | - projectAttributes:viewForTabIdentifier: |
Asks the delegate to provide a view which to put into the sender's content view. More... | |
![]() | |
(BOOL) | - canCreateCategoriesAtPath: |
Should return YES if creating categories at the provided path is allowed, and NO if it isn't. | |
(BOOL) | - canCreatePlainFilesAtPath: |
Should return YES if creating or importing plain files at the provided path is allowed, and NO if it isn't. | |
(BOOL) | - canCreateLinksAtPath: |
Should return YES if creating links to files at the provided path is allowed, and NO if it isn't. | |
(BOOL) | - canCreateVirtualFilesAtPath: |
Should return YES if creating virtual files at the provided path is allowed, and NO if it isn't. | |
(BOOL) | - canDeletePath: |
Should return YES if deleting a file at the provided path is allowed, and NO if it isn't. | |
(FileOpenResult) | - openFile: |
Asks the file manager's delegate to open the file at the specified project path. More... | |
(NSString *) | - pathToFile:isCategory: |
Should return a path to the physical location of the specified path on disk. More... | |
(NSImage *) | - iconForPath: |
Should return an icon for the specified path, if the delegate wishes to assign a special icon to that file. More... | |
(NSArray *) | - permissibleFileExtensionsInCategory: |
Should return an array of file extensions for files which are permitted in the specified category. More... | |
(FileImportResult) | - importFile:intoCategory:error: |
Asks the delegate to handle a file import into the project. More... | |
(NSString *) | - pathToFileTemplatesDirectoryForCategory: |
Should return a path to a directory containing file templates for files that are created in category ‘aCategory’. More... | |
(NSDictionary *) | - filesAssociatedWithTemplateFile:fromTemplatesDirectory:forCategory: |
Should return a list of files which are to be additionally added to the project into specific categories, when the user chose to add the template file ‘aFile’ from ‘templatesDir’ into the project category ‘targetCategory’. More... | |
![]() | |
(NSArray *) | - buildTargetsForMakeBuilder: |
Asks the delegate to provide a list of build targets for the sending MakeBuilder. More... | |
(BOOL) | - prepareForBuildByBuilder:target: |
Instructs a delegate to prepare itself for being built. More... | |
(NSArray *) | - buildArgumentsForBuilder:target: |
Asks the delegate to provide arguments that should be passed to the build task. More... | |
(BOOL) | - prepareForCleanByBuilder:target: |
Instructs a delegate to prepare itself for being cleaned. More... | |
(NSArray *) | - cleanArgumentsForBuilder:target: |
Asks the delegate to provide arguments that should be passed to the clean task. More... | |
![]() | |
(NSString *) | - pathToSubprojectsDirectory |
Asks the delegate to return an absolute path to the directory where the subprojects are to be stored. | |
Protected Attributes | |
ProjectDocument * | owner |
NSString * | mainNibFile |
NSString * | principalClass |
NSArray * | authors |
NSString * | copyright |
NSString * | copyrightDescription |
NSString * | iconName |
NSArray * | exportedClasses |
PaletteGeneralAttributes * | generalAttributes |
FileManager * | fileManager |
MakeBuilder * | builder |
unsigned int | oldMakeHash |
Additional Inherited Members | |
![]() | |
(NSString *) | + projectTypeID |
Should return the project type ID. | |
(NSString *) | + humanReadableProjectTypeName |
Should return a human-readable, perhaps localized descriptive name of the project type. | |
(NSString *) | + projectTypeDescription |
Should return a more detailed description of the project type. | |
(NSImage *) | + projectTypeIcon |
Should return an icon of the project type (max 48x48 pixels). | |
(NSArray *) | + projectModules |
Should return an OR'ed set of project capabilities provided by this project type. | |
(NSDictionary *) | + projectTemplateDescriptions |
The project type should return a dictionary where keys are project template names and values are descriptions of the templates. | |
(NSString *) | + pathToProjectTemplate: |
The receiver should return the path to the location of the project template named ‘templateName’. | |