Merge "Removed jsonValues since there already is Data/Json"
[simantics/platform.git] / bundles / org.simantics.modeling / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2007, 2014 Association for Decentralized Information Management
4     in 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         Semantum Oy - ConnectionRelationStringModifierFactory
13  -->
14
15 <adapters>
16
17         <target
18                 interface="org.simantics.db.layer0.adapter.CopyHandler">
19                 <type
20                         uri="http://www.simantics.org/Structural-0.0/Composite"
21                         class="org.simantics.modeling.adapters.CompositeCopyHandler">
22                         <this />
23                 </type>
24         </target>
25
26         <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">
27                 <resource uri="http://www.simantics.org/Modeling-0.0/MappingSubgraphExtent"
28                         class="org.simantics.modeling.adapters.MappingSubgraphExtent" >
29                 </resource>
30         </target>
31
32         <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">
33                 <resource uri="http://www.simantics.org/Diagram-0.0/DiagramSubgraphExtent"
34                         class="org.simantics.modeling.adapters.DiagramSubgraphExtent" >
35                 </resource>
36         </target>
37         <target interface="org.simantics.db.layer0.adapter.SubgraphAdvisor">
38                 <resource uri="http://www.simantics.org/Modeling-0.0/MappingSubgraphAdvisor"
39                         class="org.simantics.modeling.adapters.MappingSubgraphAdvisor" >
40                 </resource>
41         </target>
42
43         <target
44                 interface="org.simantics.layer0.utils.operations.IOperation">
45                 <!--
46                 <resource
47                         uri="http://www.simantics.org/Modeling-0.0/Operations/NewComponentType"
48                         class="org.simantics.modeling.actions.NewComponentType" />
49                 -->
50                 <resource
51                         uri="http://www.simantics.org/Modeling-0.0/Operations/NavigateToTarget"
52                         class="org.simantics.modeling.actions.NavigateToTarget" />
53                 <!--
54                 <resource
55                         uri="http://www.simantics.org/Modeling-0.0/Operations/DisconnectFlag"
56                         class="org.simantics.modeling.actions.DisconnectFlag" />
57                 -->
58         </target>
59         <target
60                 interface="org.simantics.layer0.utils.predicates.IUnaryPredicate">
61                 <resource
62                         uri="http://www.simantics.org/Modeling-0.0/Predicates/HasCounterpart"
63                         class="org.simantics.modeling.predicates.HasCounterpart" />
64         </target>
65         <target
66                 interface="org.simantics.layer0.utils.triggers.ITrigger">
67                 <type
68                         uri="http://www.simantics.org/Modeling-0.0/DiagramToCompositeMapping"
69                         class="org.simantics.modeling.mapping.DiagramToCompositeMapping3">
70                         <graph />
71                         <this />
72                 </type>
73                 <type
74                         uri="http://www.simantics.org/Modeling-0.0/ComponentTypeUpdater"
75                         class="org.simantics.modeling.mapping.ComponentTypeUpdater">
76                         <graph />
77                         <this />
78                 </type>
79         </target>
80         <!--<target interface="java.lang.String">
81                 <adapter uri="http://www.simantics.org/Diagram-0.0/Element"
82                         adapterClass="org.simantics.modeling.adapters.ElementStringAdapter" />
83         </target>-->
84
85         <target interface="org.simantics.structural2.modelingRules.IModelingRules">
86                 <type uri="http://www.simantics.org/Modeling-0.0/MappedModelingRules"
87                         class="org.simantics.modeling.rules.MappedModelingRules">
88                         <graph />
89                         <single uri="http://www.simantics.org/Modeling-0.0/HasBaseRules"
90                                 to="org.simantics.structural2.modelingRules.IModelingRules" />
91                 </type>
92         </target>
93
94         <target interface="org.simantics.db.layer0.adapter.Remover">
95                 <type uri="http://www.simantics.org/Structural-0.0/Component"
96                         class="org.simantics.db.layer0.adapter.impl.RelatedObjectRemover">
97                         <graph />
98                         <this />
99                         <string>http://www.simantics.org/Modeling-0.0/ComponentToElement</string>
100                         <string>http://www.simantics.org/Modeling-0.0/HasParentComponent/Inverse</string>
101                 </type>
102                 <type uri="http://www.simantics.org/Diagram-0.0/Element" class="org.simantics.modeling.adapters.ElementRemover">
103                         <this />
104                 </type>
105                 <type uri="http://www.simantics.org/Diagram-0.0/Monitor" class="org.simantics.modeling.adapters.MonitorRemover">
106                         <this />
107                 </type>
108                 <type uri="http://www.simantics.org/Charts-0.0/Chart"
109                         class="org.simantics.db.layer0.adapter.impl.ConsistsOfRemover">
110                         <this />
111                 </type>
112                 <type uri="http://www.simantics.org/Simulation-0.0/Run" 
113                       class="org.simantics.modeling.adapters.RunRemover">
114                         <this />
115                 </type>
116                 <type uri="http://www.simantics.org/Diagram-0.0/Flag"
117                         class="org.simantics.modeling.adapters.FlagRemover">
118                         <this />
119                 </type>
120                 <type uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
121                         class="org.simantics.modeling.adapters.ConnectionRelationRemover">
122                         <this />
123                 </type>
124                 <type uri="http://www.simantics.org/Diagram-0.0/Terminal"
125                         class="org.simantics.modeling.adapters.TerminalRemover">
126                         <this />
127                 </type>
128                 <type uri="http://www.simantics.org/Modeling-0.0/ReferenceElement"
129                         class="org.simantics.modeling.adapters.ReferenceElementRemover">
130                         <this />
131                 </type>
132         </target>
133         
134         <target interface="org.simantics.scl.runtime.function.Function">
135         <resource uri="http://www.simantics.org/Simulation-0.0/ActiveExperiment"
136             class="org.simantics.modeling.adapters.ActiveExperiment">
137         </resource>
138     </target>
139
140     <target interface="org.simantics.db.layer0.adapter.ActionFactory">
141         <type uri="http://www.simantics.org/Modeling-0.0/NewComposite"
142             class="org.simantics.modeling.adapters.NewCompositeActionFactory">
143             <single uri="http://www.simantics.org/Modeling-0.0/NewComposite/HasCompositeType" />
144             <single uri="http://www.simantics.org/Modeling-0.0/NewComposite/HasDefaultName"
145                     to="java.lang.String" />
146         </type>
147     </target>
148     
149     <target interface="org.simantics.db.layer0.adapter.ActionFactory">
150         <type uri="http://www.simantics.org/Modeling-0.0/ExportModel"
151             class="org.simantics.modeling.adapters.ExportModelActionFactory">
152             <single uri="http://www.simantics.org/Modeling-0.0/ExportModel/extension"
153                     to="java.lang.String" />
154             <single uri="http://www.simantics.org/Modeling-0.0/ExportModel/format"
155                     to="java.lang.String" />
156         </type>
157         <type uri="http://www.simantics.org/Modeling-0.0/SCLAction"
158             class="org.simantics.modeling.SCLAction">
159             <graph/>
160             <this/>
161         </type>
162                 <resource uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Help"
163                         class="org.simantics.modeling.actions.Help" />
164     </target>
165
166         <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
167                 <type uri="http://www.simantics.org/Modeling-0.0/SCLDropAction"
168                         class="org.simantics.modeling.SCLDropAction">
169                         <graph/>
170                         <this/>
171                 </type>
172         </target>
173
174     <target interface="org.simantics.browsing.ui.model.children.ChildRule">
175         <type uri="http://www.simantics.org/Modeling-0.0/SCLChildRule"
176             class="org.simantics.modeling.adapters.SCLChildRule">
177                         <graph />
178                         <this />
179         </type>
180     </target>    
181
182     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
183         <type uri="http://www.simantics.org/Modeling-0.0/SCLLabelRule"
184             class="org.simantics.modeling.adapters.SCLLabelRule">
185                         <graph />
186                         <this />
187         </type>
188     </target>    
189
190     <target interface="org.simantics.browsing.ui.model.tests.Test">
191         <type uri="http://www.simantics.org/Modeling-0.0/SCLTest"
192             class="org.simantics.modeling.adapters.SCLTest">
193                         <graph />
194                         <this />
195         </type>
196     </target>    
197
198         <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">
199                 <type
200                         uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
201                         class="org.simantics.modeling.adapters.ConnectionRelationStringModifierFactory">
202                         <this />
203                 </type>
204         </target>
205
206
207         <target interface="org.simantics.db.layer0.variable.VariableBuilder">
208                 <type uri="http://www.simantics.org/Modeling-1.2/SCLCommandSession" class="org.simantics.modeling.scl.SCLVariableBuilder" />
209         </target>
210
211         <target interface="org.simantics.db.layer0.migration.MigrationStep">
212                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/attachCreationInformationStep"
213                         class="org.simantics.modeling.migration.AttachCreationInformationStep"
214                         constructor="get">
215                 </resource>
216                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/guidCreationStep"
217                         class="org.simantics.modeling.migration.GuidCreationStep"
218                         constructor="get">
219                 </resource>
220                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/layerCleanupMigrationStep"
221                         class="org.simantics.modeling.migration.LayerCleanupMigrationStep">
222                 </resource>
223                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/documentCleanupMigrationStep"
224                         class="org.simantics.modeling.migration.DocumentCleanupMigrationStep">
225                 </resource>
226         </target>
227
228         <target interface="org.simantics.modeling.typicals.ITypicalSynchronizationRule">
229                 <baseType
230                         uri="http://www.simantics.org/Modeling-0.0/TypicalSynchronizationRule" />
231                 <resource
232                         uri="http://www.simantics.org/Modeling-0.0/PageSettingsTypicalRule"
233                         class="org.simantics.modeling.typicals.rules.PageSettingsTypicalRule"
234                         constructor="get" />
235         </target>
236
237         <target interface="org.simantics.scenegraph.profile.Style">
238                 <resource uri="http://www.simantics.org/Modeling-0.0/SymbolCodeStyle"
239                         class="org.simantics.modeling.adapters.SymbolCodeStyle">
240                 </resource>
241         </target>
242
243 </adapters>