ProjectManager
0.2
|
This class is a manager of subprojects for a project. More...
Public Member Functions | |
(NSArray *) | - subprojectNames |
(id) | - outlineView:child:ofItem: |
(BOOL) | - outlineView:isItemExpandable: |
(int) | - outlineView:numberOfChildrenOfItem: |
(id) | - outlineView:objectValueForTableColumn:byItem: |
(void) | - outlineView:setObjectValue:forTableColumn:byItem: |
(BOOL) | - fileManager:shouldProceedAfterError: |
(void) | - fileManager:willProcessPath: |
(void) | - newSubprojectAction: |
(void) | - addSubprojectAction: |
(void) | - removeSubprojectAction: |
(void) | - openSubprojectAction: |
(void) | - newSubprojectCategoryAction: |
(void) | - removeSubprojectCategoryAction: |
Protected Attributes | |
ProjectDocument * | document |
id< SubprojectsManagerDelegate > | delegate |
id | bogusWindow |
id | view |
id | outline |
NSMutableArray * | subprojects |
This array contains the subprojects hierarchy. | |
NSMutableArray * | subprojectNames |
Returns absolute paths to all subprojects. | |
NSDictionary * | fileOpErrorDict |
This class is a manager of subprojects for a project.
It simply identifies subprojects by name and path where they live and handles adding, removing and opening them. It also provides the user with the possibility to organize subprojects into "subproject categories".
It's delegate must conform to the SubprojectsManagerDelegate protocol, in order to tell it where to put the subprojects it manages.
- (NSMutableArray*) subprojects [protected] |
This array contains the subprojects hierarchy.
It's contents are NSDictionary's of the following structure:
{ Type = "Category"; Name = "<subcategory-name>"; Contents = ( contents-array ); }
if the entry is a subcategory of subprojects, or:
{ Type = "Subproject"; Name = "<subproject-name>"; ProjectFile = "<subproject-project-file-name>"; }
if the entry is a subproject.