File: ULTemplateViewController.h

package info (click to toggle)
adun.app 0.81-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,384 kB
  • sloc: objc: 70,952; ansic: 6,668; yacc: 394; python: 75; cpp: 36; makefile: 33; xml: 15; awk: 3
file content (105 lines) | stat: -rw-r--r-- 2,795 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* 
   Project: UL

   Copyright (C) 2006 Michael Johnston & Jordi Villa-Freixa

   Author: Michael Johnston

   Created: 2006-06-01 10:15:49 +0200 by michael johnston
   
   This application is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public
   License as published by the Free Software Foundation; either
   version 2 of the License, or (at your option) any later version.
 
   This application is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.
 
   You should have received a copy of the GNU General Public
   License along with this library; if not, write to the Free
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#ifndef _ULTEMPLATEVIEWCONTROLLER_
#define _ULTEMPLATEVIEWCONTROLLER_

#include <AppKit/AppKit.h>
#include <AdunKernel/AdunModelObject.h>
#include <ULFramework/ULTemplate.h>
#include <ULFramework/ULMenuExtensions.h>
#include <ULFramework/ULDatabaseInterface.h>
#include "ULPasteboard.h"
#include "ULOutlineViewDelegate.h"
#include "ULPropertiesPanel.h"
#include "ULOutlineViewAdditions.h"

/**
\ingroup interface
Controls template building interface.
*/

@interface ULTemplateViewController : NSObject
{
	id interactionsTableDelegate;	//!< Delegate and data source for interaction table
	NSDictionary* sectionDescriptions;
	NSDictionary* viewToTemplateSectionMap; //!< Maps interface section names to ULTemplate section names
	NSMutableDictionary* displayNames;
	NSMutableDictionary* sections;
	ULOutlineViewDelegate* outlineDelegate;
	ULMutableTemplate* simulationTemplate;
	ULPropertiesPanel* propertyViewController;
	//Window Elements
	id templateWindow;
	id componentTable;
	id componentDescriptionField;
	id sectionDescriptionField;
	id popUpList;
	id tabView;
	id currentTemplateView;		//!< The view currently being used to display the template
	id templateView;
	id templateDisplayView; 	//!< Used when displaying a saved template
}
/**
Description forthcoming
*/
+ (id) templateViewController;
/**
Description forthcoming
*/
- (void) open: (id) sender;
/**
Description forthcoming
*/
- (void) display: (id) sender;
/**
Description forthcoming
*/
- (void) displayTemplate: (id) aTemplate;
/**
Description forthcoming
*/
- (void) save: (id)sender;
/**
Description forthcoming
*/
- (void) validate: (id) sender;
/**
Description forthcoming
*/
- (void) addComponent: (id) sender;
/**
Description forthcoming
*/
- (void) removeComponent: (id) sender;
/**
Description forthcoming
*/
- (void) changeSection: (id) sender;
/**
Description forthcoming
*/
- (void) editAsNew: (id) sender;
@end

#endif