ProjectManager  0.2
Instance Methods | Protected Attributes | List of all members
MakeBuilder Class Reference
Inheritance diagram for MakeBuilder:
<ProjectModule>

Instance Methods

(void) - build:
 Action to initiate the build process with the current target.
 
(void) - buildTarget:
 Builds the specified target of the project. More...
 
(void) - clean:
 Action to initiate the clean process with the current target.
 
(void) - cleanTarget:
 Cleans the specified target of the project. More...
 
(void) - stopOperation:
 Action to initiate the stop a running build or clean process.
 
(BOOL) - isBusy
 Queries whether the receiver is currently executing either a build or clean operation (is busy). More...
 
(void) - addBuildArgument:
 Action to add a build argument.
 
(void) - removeBuildArgument:
 Action to remove a build argument.
 
(void) - moveBuildArgumentUp:
 Action to move a build argument upwards in the list.
 
(void) - moveBuildArgumentDown:
 Action to move a build argument downwards in the list.
 
(void) - openErrorFile:
 Action to open the error file at the specified line when the user double-clicks an error in the build error list.
 
(int) - numberOfRowsInTableView:
 
(id) - tableView:objectValueForTableColumn:row:
 
(void) - tableView:setObjectValue:forTableColumn:row:
 
(void) - collectOutput:
 
(void) - collectErrorOutput:
 
(void) - buildCompleted:
 
(void) - cleanCompleted:
 
(void) - buildOptionChanged:
 Action invoked when a build-option (like "Verbose Build" or "Warnings") is changed. More...
 
- Instance Methods inherited from <ProjectModule>
(id) - initWithDocument:infoDictionary:
 Designated initializer of project modules.
 
(void) - finishInit
 Finishes the initialization process of the project module. More...
 
(ProjectDocument *) - document
 Should return the owner project document to which this project module belongs to.
 
(NSView *) - view
 Instructs the project module to return a view which will be put into the project's window this module becomes the current module.
 
(NSDictionary *) - infoDictionary
 Instructs the project module to return an archivable version of it's data that it wishes to be saved together with the project. More...
 
(BOOL) - regenerateDerivedFiles
 Sent to the project module when it is to regenerate it's derived files which are generated from other files/data in the project itself. More...
 
(NSArray *) - moduleMenuItems
 Should return an array of NSMenuItem's which will be put into the module's submenu.
 
(NSArray *) - toolbarItemIdentifiers
 A module should return the default toolbar item identifiers for it's toolbar. More...
 
(NSToolbarItem *) - toolbarItemForItemIdentifier:
 This method asks the module to create a toolbar item for the provided itemIdentifier. More...
 
(BOOL) - validateToolbarItem:
 This method is invoked when the project type object is required to validate it's toolbar items.
 

Protected Attributes

ProjectDocumentdocument
 
NSDictionary * info
 
id bogusWindow
 
id view
 
id buildOutput
 
id buildArgs
 
id buildArgsManipulationMatrix
 
id buildArgsMovementMatrix
 
id buildErrors
 
id buildTarget
 
id verboseBuild
 
id warnings
 
id allWarnings
 
NSArray * targets
 
NSMutableArray * buildArguments
 
NSMutableArray * buildErrorList
 
NSString * lastIncompleteOutputLine
 
NSString * lastIncompleteErrorLine
 
NSMutableArray * buildDirectoryStack
 
MakeBuilderState state
 
NSTask * task
 
NSFileHandle * outputFileHandle
 
NSFileHandle * errorFileHandle
 
id< MakeBuilderDelegatedelegate
 

Additional Inherited Members

- Class Methods inherited from <ProjectModule>
(NSString *) + moduleName
 Should return a unique module identifier name.
 
(NSString *) + humanReadableModuleName
 

Method Documentation

◆ buildOptionChanged:

- (void) buildOptionChanged: (id)  sender

Action invoked when a build-option (like "Verbose Build" or "Warnings") is changed.

It simply marks the document as dirty.

◆ buildTarget:

- (void) buildTarget: (NSString *)  target

Builds the specified target of the project.

Parameters
targetThe target which to build.

◆ cleanTarget:

- (void) cleanTarget: (NSString *)  target

Cleans the specified target of the project.

Parameters
targetThe target which to clean.

◆ isBusy

- (BOOL) isBusy

Queries whether the receiver is currently executing either a build or clean operation (is busy).

Returns
YES if the receiver is busy, NO otherwise.

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