|
(NSDictionary *) | - getNewProjectSetupWithLocation: |
| Runs a series of panels to ask the user to define a new project. More...
|
|
(void) | - cancel: |
|
(void) | - goToProjectLocationSelection: |
|
(void) | - projectTypeSelected: |
|
(void) | - doubleClickedProjectType: |
| Action invoked when the user double-clicks the projectType outline. More...
|
|
(void) | - validateProjectName: |
|
(NSView *) | - wizardPanel:viewForStage: |
|
(NSView *) | - wizardPanel:initialFirstResponderForStage: |
|
(int) | - outlineView:numberOfChildrenOfItem: |
|
(BOOL) | - outlineView:isItemExpandable: |
|
(id) | - outlineView:child:ofItem: |
|
(id) | - outlineView:objectValueForTableColumn:byItem: |
|
|
WKWizardPanel * | wizard |
|
id | projectNameCell |
|
id | projectNameForm |
|
id | projectNameNotice |
|
id | projectNameMistake |
|
id | projectNameView |
|
id | projectTypes |
|
id | projectTypeView |
|
id | projectTypeIcon |
|
id | projectTypeDescription |
|
id | window1 |
|
id | window2 |
|
id | templateNeededNotice |
|
id | finishButton |
|
id | backToLocationButton |
|
id | toProjectTypeSelectionButton |
|
NSArray * | projectTypesCache |
|
NSString * | location |
|
NSString * | projectName |
|
◆ createNewProjectAtPath:projectName:fromTemplate:error:
+ (BOOL) createNewProjectAtPath: |
|
(NSString *) |
aProjectPath |
projectName: |
|
(NSString *) |
aProjectName |
fromTemplate: |
|
(NSString *) |
aTemplatePath |
error: |
|
(NSError **) |
error |
|
|
| |
Creates a new project.
- Parameters
-
projectPath | The path where to create the project. |
projectName | The name of the new project. |
templatePath | A path to the template which will be used to create the new project's files. |
error | A pointer which if not set to NULL will be filled with an error object describing the problem in case creating the project fails. |
After the template has been copied, the project directory is searched for files named "$PROJECT_NAME$".<ext> and these are then renamed to the proper project name. Simmilar variable substitution occurs inside the ProjectInfo.plist.
- Returns
- YES if creating the new project bundle succeeded, NO if it didn't.
◆ doubleClickedProjectType:
- (void) doubleClickedProjectType: |
|
(id) |
sender |
|
Action invoked when the user double-clicks the projectType outline.
Since each double-click also invokes a single-click before (which means that the user's choice has been validated in -[ProjectCreator projectTypeSelected:], we only check whether the button is enabled (meaning that the selection is valid) and aftewards make the button perform a click.
◆ getNewProjectSetupWithLocation:
- (NSDictionary *) getNewProjectSetupWithLocation: |
|
(BOOL) |
withLocation |
|
The documentation for this class was generated from the following files: