|
(id) | - initWithWindowNibName:ownerDocument: |
|
(void) | - switchView: |
| Action invoked when a module-switch has been requested, either from the project window's switcher popup, or from a menu item (unused so far).
|
|
(void) | - selectModule: |
| Puts the project module in the project module list at index ‘moduleNumber’ into the receiver's window.
|
|
(void) | - setCurrentModule: |
| Sets the current module displayed in the receiver's project window.
|
|
(id< ProjectModule >) | - currentModule |
|
(NSToolbarItem *) | - toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar: |
|
(NSArray *) | - toolbarAllowedItemIdentifiers: |
| Returns the allowed item identifiers for a project window toolbar.
|
|
(NSArray *) | - toolbarDefaultItemIdentifiers: |
| Returns the default item identifiers for a project window toolbar.
|
|
(BOOL) | - validateToolbarItem: |
|
(void) | - projectNameChanged: |
| Notification method invoked when the project name changes - we then update our window's title to hold it.
|
|
(void) | - logMessage: |
| Appends a message to the project log.
|
|
|
id | myWindow |
|
NSBox * | box |
|
NSObject< ProjectModule > * | currentModule |
| Returns the currently visible project module.
|
|
NSToolbar * | toolbar |
|
NSToolbarItem * | switcherItem |
|
NSToolbarItem * | logItem |
|
NSPopUpButton * | moduleSwitcher |
|
NSTextView * | log |
|
ProjectDocument * | owner |
|
◆ logMessage:
- (void) logMessage: |
|
(NSString *) | aMessage |
|
Appends a message to the project log.
- Parameters
-
aMessage | The message which to append. It does not have to end with a newline character - one is automatically appended if necessary. |
◆ setCurrentModule:
Sets the current module displayed in the receiver's project window.
- Parameters
-
aModule | The module which to display. It must be one of the project's modules, otherwise an exception is thrown. |
◆ toolbarAllowedItemIdentifiers:
- (NSArray *) toolbarAllowedItemIdentifiers: |
|
(NSToolbar*) | toolbar |
|
Returns the allowed item identifiers for a project window toolbar.
The allowed item identifiers are first our project module switcher, then any of the standard toolbar items (NSToolbarSeparatorItemIdentifier etc.) and then any item identifiers returned when sending the responsible module a allowedToolbarItemIdentifiers message.
◆ toolbarDefaultItemIdentifiers:
- (NSArray *) toolbarDefaultItemIdentifiers: |
|
(NSToolbar*) | toolbar |
|
Returns the default item identifiers for a project window toolbar.
The default item identifiers are first our project module switcher, then a separator and then any item identifiers returned when sending the responsible module a defaultToolbarItemIdentifiers message.
◆ currentModule
Returns the currently visible project module.
To some stuff (e.g. the debugger's inspectors) this information is better than the current tab.
The documentation for this class was generated from the following files: