]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.browsing.ui.model/adapters.xml
Working towards multiple readers.
[simantics/platform.git] / bundles / org.simantics.browsing.ui.model / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2010, 2011 Association for Decentralized Information Management in
4     Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <adapters>
15
16     <target interface="org.simantics.browsing.ui.model.children.ChildRule">
17         <baseType uri="http://www.simantics.org/Viewpoint-0.0/ChildRule" />
18         <type
19             uri="http://www.simantics.org/Viewpoint-0.0/EqualContentChildRule"
20             class="org.simantics.browsing.ui.model.children.EqualContentChildRule">
21             <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/EqualContentChildRule/HasCondition"
22                         to="org.simantics.browsing.ui.model.tests.Test"/>
23         </type>
24         <type
25             uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule"
26             class="org.simantics.browsing.ui.model.children.RelationChildRule">
27             <single uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule/HasRelation"/>
28             <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule/HasTest"
29                        to="org.simantics.browsing.ui.model.tests.Test"/>
30         </type>
31         <type
32             uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule"
33             class="org.simantics.browsing.ui.model.children.RelationStatementRule">
34             <single uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule/HasRelation"/>
35             <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule/HasTest"
36                        to="org.simantics.browsing.ui.model.tests.Test"/>
37         </type>
38         <type
39             uri="http://www.simantics.org/Viewpoint-0.0/CompositeChildRule"
40             class="org.simantics.browsing.ui.model.children.CompositeChildRule">
41             <graph/>
42             <single uri="http://www.simantics.org/Viewpoint-0.0/CompositeChildRule/HasChildRules"/>
43         </type>
44         <type
45             uri="http://www.simantics.org/Viewpoint-0.0/ConstantChildRule"
46             class="org.simantics.browsing.ui.model.children.ConstantChildRule">
47             <related uri="http://www.simantics.org/Viewpoint-0.0/ConstantChildRule/HasChild"/>
48         </type>
49     </target>
50     
51     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
52         <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />
53         <resource
54             uri="http://www.simantics.org/Viewpoint-0.0/ResourceNameLabelRule"
55             class="org.simantics.browsing.ui.model.labels.ResourceNameLabelRule"/>
56         <resource
57             uri="http://www.simantics.org/Viewpoint-0.0/ResourceLabelLabelRule"
58             class="org.simantics.browsing.ui.model.labels.ResourceLabelLabelRule"/>
59         <resource
60             uri="http://www.simantics.org/Viewpoint-0.0/StandardNameLabelRule"
61             class="org.simantics.browsing.ui.model.labels.StandardNameLabelRule"/>
62         <type
63             uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule"
64             class="org.simantics.browsing.ui.model.labels.ConstantLabelRule">
65             <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule/HasLabel" 
66                     to="java.lang.String"/>
67             <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule/HasColumnKey" 
68                     to="java.lang.String"/>
69         </type>
70         <resource
71             uri="http://www.simantics.org/Viewpoint-0.0/ResourceNameModifierRule"
72             class="org.simantics.browsing.ui.model.modifiers.StringPropertyModifierRule">
73             <graph/>
74             <string>http://www.simantics.org/Layer0-0.0/HasName</string>
75         </resource>
76         <resource
77             uri="http://www.simantics.org/Viewpoint-0.0/ResourceLabelModifierRule"
78             class="org.simantics.browsing.ui.model.modifiers.StringPropertyModifierRule">
79             <graph/>
80             <string>http://www.simantics.org/Layer0-0.0/HasLabel</string>
81         </resource>
82         <resource
83             uri="http://www.simantics.org/Viewpoint-0.0/VariableLabelModifierRule"
84             class="org.simantics.browsing.ui.model.modifiers.VariablePropertyModifierRule">
85             <graph/>
86             <string>HasLabel</string>
87         </resource>
88         <resource
89             uri="http://www.simantics.org/Viewpoint-0.0/NoModifierRule"
90             class="org.simantics.browsing.ui.model.modifiers.NoModifierRule"
91             constructor="get">
92         </resource>
93
94         <type
95             uri="http://www.simantics.org/Viewpoint-0.0/ConstantImageRule"
96             class="org.simantics.browsing.ui.model.images.ConstantImageRule">
97             <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantImageRule/HasImage" 
98                     to="org.eclipse.jface.resource.ImageDescriptor"/>
99             <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantImageRule/HasColumnKey" 
100                     to="java.lang.String"/>
101         </type>
102
103         <type
104             uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelDecorationRule"
105             class="org.simantics.browsing.ui.model.labeldecorators.ConstantLabelDecorationRule"
106             constructor="create">
107             <graph/>
108             <this/>
109         </type>
110         
111         <resource
112             uri="http://www.simantics.org/Viewpoint-0.0/AlphanumericSorterRule"
113             class="org.simantics.browsing.ui.model.sorters.AlphanumericSorterRule"/>
114         <resource
115             uri="http://www.simantics.org/Viewpoint-0.0/PassThruSorterRule"
116             class="org.simantics.browsing.ui.model.sorters.PassThruSorterRule"/>
117         <resource
118             uri="http://www.simantics.org/Viewpoint-0.0/LinkedListSorterRule"
119             class="org.simantics.browsing.ui.model.sorters.LinkedListSorterRule"/>
120         <baseType uri="http://www.simantics.org/Viewpoint-0.0/ImageDecorationRule" />
121         
122         <resource
123             uri="http://www.simantics.org/Viewpoint-0.0/DescriptionTooltipRule"
124             class="org.simantics.browsing.ui.model.tooltips.DescriptionTooltipRule" />
125     </target>
126     
127     <target interface="org.simantics.browsing.ui.model.nodetypes.NodeType">
128         <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />
129         <type
130             uri="http://www.simantics.org/Viewpoint-0.0/NodeType"
131             class="org.simantics.browsing.ui.model.nodetypes.SpecialNodeType"
132             constructor="create">
133             <graph/>
134             <this/>
135         </type>        
136         <type
137             uri="http://www.simantics.org/Layer0-0.0/Type"
138             class="org.simantics.browsing.ui.model.nodetypes.EntityNodeType"
139             constructor="create">
140             <this/>
141         </type>
142     </target>
143     
144     <target interface="org.simantics.browsing.ui.model.tests.Test">
145         <baseType uri="http://www.simantics.org/Viewpoint-0.0/Test" />
146         <type
147             uri="http://www.simantics.org/Viewpoint-0.0/HasStatementTest"
148             class="org.simantics.browsing.ui.model.tests.HasStatementTest">
149             <single uri="http://www.simantics.org/Viewpoint-0.0/HasStatementTest/HasRelation"/>
150         </type>
151         <type
152             uri="http://www.simantics.org/Viewpoint-0.0/HasInstanceOfTest"
153             class="org.simantics.browsing.ui.model.tests.HasInstanceOfTest">
154             <single uri="http://www.simantics.org/Viewpoint-0.0/HasInstanceOfTest/IsInstanceOf"/>
155         </type>
156         <type
157             uri="http://www.simantics.org/Viewpoint-0.0/HasNegatedTest"
158             class="org.simantics.browsing.ui.model.tests.HasNegatedTest">
159             <single uri="http://www.simantics.org/Viewpoint-0.0/HasNegatedTest/HasTest"
160                 to="org.simantics.browsing.ui.model.tests.Test"/>
161         </type>
162         <type
163             uri="http://www.simantics.org/Viewpoint-0.0/AndTest"
164             class="org.simantics.browsing.ui.model.tests.AndTest">
165             <related uri="http://www.simantics.org/Viewpoint-0.0/AndTest/HasTest"
166                 to="org.simantics.browsing.ui.model.tests.Test"/>
167         </type>
168         <type
169             uri="http://www.simantics.org/Viewpoint-0.0/OrTest"
170             class="org.simantics.browsing.ui.model.tests.OrTest">
171             <related uri="http://www.simantics.org/Viewpoint-0.0/OrTest/HasTest"
172                 to="org.simantics.browsing.ui.model.tests.Test"/>
173         </type>
174         <type
175             uri="http://www.simantics.org/Viewpoint-0.0/InstanceOfTest"
176             class="org.simantics.browsing.ui.model.tests.InstanceOfTest">
177             <graph/>
178             <this/>
179         </type>
180         <type uri="http://www.simantics.org/Viewpoint-0.0/FailTest"
181             class="org.simantics.browsing.ui.model.tests.FailTest"
182             constructor="get">
183         </type>
184         <type uri="http://www.simantics.org/Viewpoint-0.0/HasURITest"
185             class="org.simantics.browsing.ui.model.tests.HasURITest"
186             constructor="get">
187         </type>
188         <type uri="http://www.simantics.org/Viewpoint-0.0/InDevelopmentModeTest"
189             class="org.simantics.browsing.ui.model.tests.InDevelopmentModeTest"
190             constructor="get">
191         </type>
192     </target>
193     
194     <target interface="org.simantics.browsing.ui.model.actions.IActionCategory">
195         <baseType uri="http://www.simantics.org/Viewpoint-0.0/ActionCategory" />
196         
197         <type uri="http://www.simantics.org/Viewpoint-0.0/ActionCategory"
198               class="org.simantics.browsing.ui.model.actions.ActionCategory"
199               constructor="create">
200               <graph/>
201               <this/>
202         </type>
203     </target>
204
205 </adapters>