ProjectManager  0.2
Instance Methods | Class Methods | List of all members
ProjectDocument(Private) Category Reference

Instance Methods

(BOOL) - loadProjectModules:withInfoDictionaries:forProjectType:
 Attempts to load project modules given by names in ‘moduleNames’. More...
 
(NSDictionary *) - getProjectModulesData
 Queries all project modules for their data dictionaries and returns them all in one aggregate dictionary. More...
 

Class Methods

(NSArray *) + projectModulesForProjectType:
 Returns an array of project module names to be loaded for a project type. More...
 

Method Documentation

◆ getProjectModulesData

- (NSDictionary *) getProjectModulesData

Queries all project modules for their data dictionaries and returns them all in one aggregate dictionary.

Returns
The data of all project modules in a dictionary. Each key in the dictionary represents the data of one project module. Not all project modules necessarily have an entry in the returned dictionary - modules which don't have an module data are ommited.

◆ loadProjectModules:withInfoDictionaries:forProjectType:

- (BOOL) loadProjectModules: (NSArray *)  moduleNames
withInfoDictionaries: (NSDictionary *)  dicts
forProjectType: (NSString *)  typeName 

Attempts to load project modules given by names in ‘moduleNames’.

Their info dictionaries are in ‘dicts’, each bound to the name of the respective project module. The ‘typeName’ argument is only used to identify the project type in case loading a module fails.

Returns
YES if loading all project modules succeeds, NO otherwise.

◆ projectModulesForProjectType:

+ (NSArray *) projectModulesForProjectType: (NSString *)  type

Returns an array of project module names to be loaded for a project type.

Parameters
typeThe project type for which to return the list.
Returns
An array of project module names to load for the project type. This array includes the standard required modules, plus the list of user-defined modules to be loaded.

The documentation for this category was generated from the following file: