ProjectManager  0.2
ProjectAttributesDelegate.h
1 /*
2  ProjectAttributesDelegate.h
3 
4  Declaration of the ProjectAttributesDelegate protocol for the
5  ProjectManager app.
6 
7  Copyright (C) 2005, 2006 Saso Kiselkov
8 
9  This program is free software; you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 2 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23 
24 #import <Foundation/NSObject.h>
25 
26 @class NSArray,
27  NSView,
28  NSString;
29 
31 
39 - (NSArray *) tabIdentifiersForProjectAttributes: (id) sender;
40 
49 - (NSString *) projectAttributes: (id) sender
50  toolbarItemLabelForTabIdentifier: (NSString *) tab;
51 
60 - (NSString *) projectAttributes: (id) sender
61  toolbarItemToolTipForTabIdentifier: (NSString *) tab;
62 
72 - (NSImage *) projectAttributes: (id) sender
73  toolbarItemIconForTabIdentifier: (NSString *) tab;
74 
84 - (NSView *) projectAttributes: (id) sender
85  viewForTabIdentifier: (NSString *) tab;
86 
87 @end
-[ProjectDocument setCurrentProjectModule:]
void setCurrentProjectModule:(id< ProjectModule > aModule)
Sets the currently displayed project module in the receiver's project window.
Definition: ProjectDocument.m:563
ProjectDocument
Definition: ProjectDocument.h:43
-[ProjectModule-p regenerateDerivedFiles]
BOOL regenerateDerivedFiles()
Sent to the project module when it is to regenerate it's derived files which are generated from other...
-[ProjectModule-p infoDictionary]
NSDictionary * infoDictionary()
Instructs the project module to return an archivable version of it's data that it wishes to be saved ...
-[ProjectModule-p moduleMenuItems]
NSArray * moduleMenuItems()
Should return an array of NSMenuItem's which will be put into the module's submenu.
-[ProjectAttributes switchView:]
void switchView:(id sender)
An action which switches the current view based on what toolbar item has been selected.
Definition: ProjectAttributes.m:244
-[ProjectModule-p finishInit]
void finishInit()
Finishes the initialization process of the project module.
ProjectAttributes
Definition: ProjectAttributes.h:34
-[ProjectDocument setProjectName:]
void setProjectName:(NSString *aName)
Sets a new project name.
Definition: ProjectDocument.m:485
ProjectAttributesDelegate-p
Definition: ProjectAttributesDelegate.h:30
+[ProjectModule-p moduleName]
NSString * moduleName()
Should return a unique module identifier name.
-[ProjectModule-p toolbarItemIdentifiers]
NSArray * toolbarItemIdentifiers()
A module should return the default toolbar item identifiers for it's toolbar.