ProjectManager  0.2
Public Member Functions | Protected Attributes
SubprojectsManager Class Reference

This class is a manager of subprojects for a project. More...

Inheritance diagram for SubprojectsManager:
<ProjectModule>

List of all members.

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

ProjectDocumentdocument
id< SubprojectsManagerDelegatedelegate
id bogusWindow
id view
id outline
NSMutableArray * subprojects
 This array contains the subprojects hierarchy.
NSMutableArray * subprojectNames
 Returns absolute paths to all subprojects.
NSDictionaryfileOpErrorDict

Detailed Description

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.


Member Data Documentation

- (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.


The documentation for this class was generated from the following files: