1 //
2 //  PXToolPropertiesController.h
3 //  Pixen-XCode
4 //
5 // Copyright (c) 2004 Open Sword Group
6 
7 // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
8 // files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,
9 //copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
10 // to whom the Software is furnished to do so, subject to the following conditions:
11 
12 // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13 
14 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
15 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
16 // BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18 
19 //  Author : Andy Matuschak on Fri Mar 12 2004.
20 
21 // This class manage the properties tool Panel
22 //(TODO : more Comment)
23 // Fabien
24 
25 #import <Foundation/NSObject.h>
26 #import <AppKit/NSNibDeclarations.h>
27 
28 @class NSPanel;
29 
30 @interface PXToolPropertiesController : NSObject
31 {
32   IBOutlet NSPanel *panel;
33 }
34 
35 //Double-ton
36 + (id)leftToolPropertiesController;
37 + (id)rightToolPropertiesController;
38 
39 //Use to change the property view
40 - (void)setPropertiesView:(id) propertiesView;
41 //Accessor
42 -(NSPanel *) propertiesPanel;
43 
44 @end
45 
46 
47