Copy URI context menu action to Model Browser for development mode
[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         <resource uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/CopyURI"
165             class="org.simantics.modeling.actions.CopyURI" />
166     </target>
167
168         <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
169                 <type uri="http://www.simantics.org/Modeling-0.0/SCLDropAction"
170                         class="org.simantics.modeling.SCLDropAction">
171                         <graph/>
172                         <this/>
173                 </type>
174         </target>
175
176     <target interface="org.simantics.browsing.ui.model.children.ChildRule">
177         <type uri="http://www.simantics.org/Modeling-0.0/SCLChildRule"
178             class="org.simantics.modeling.adapters.SCLChildRule">
179                         <graph />
180                         <this />
181         </type>
182     </target>    
183
184     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
185         <type uri="http://www.simantics.org/Modeling-0.0/SCLLabelRule"
186             class="org.simantics.modeling.adapters.SCLLabelRule">
187                         <graph />
188                         <this />
189         </type>
190     </target>    
191
192     <target interface="org.simantics.browsing.ui.model.tests.Test">
193         <type uri="http://www.simantics.org/Modeling-0.0/SCLTest"
194             class="org.simantics.modeling.adapters.SCLTest">
195                         <graph />
196                         <this />
197         </type>
198     </target>    
199
200         <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">
201                 <type
202                         uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
203                         class="org.simantics.modeling.adapters.ConnectionRelationStringModifierFactory">
204                         <this />
205                 </type>
206         </target>
207
208
209         <target interface="org.simantics.db.layer0.variable.VariableBuilder">
210                 <type uri="http://www.simantics.org/Modeling-1.2/SCLCommandSession" class="org.simantics.modeling.scl.SCLVariableBuilder" />
211         </target>
212
213         <target interface="org.simantics.db.layer0.migration.MigrationStep">
214                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/attachCreationInformationStep"
215                         class="org.simantics.modeling.migration.AttachCreationInformationStep"
216                         constructor="get">
217                 </resource>
218                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/guidCreationStep"
219                         class="org.simantics.modeling.migration.GuidCreationStep"
220                         constructor="get">
221                 </resource>
222                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/layerCleanupMigrationStep"
223                         class="org.simantics.modeling.migration.LayerCleanupMigrationStep">
224                 </resource>
225                 <resource uri="http://www.simantics.org/Modeling-1.2/Migration/documentCleanupMigrationStep"
226                         class="org.simantics.modeling.migration.DocumentCleanupMigrationStep">
227                 </resource>
228         </target>
229
230         <target interface="org.simantics.modeling.typicals.ITypicalSynchronizationRule">
231                 <baseType
232                         uri="http://www.simantics.org/Modeling-0.0/TypicalSynchronizationRule" />
233                 <resource
234                         uri="http://www.simantics.org/Modeling-0.0/PageSettingsTypicalRule"
235                         class="org.simantics.modeling.typicals.rules.PageSettingsTypicalRule"
236                         constructor="get" />
237         </target>
238
239         <target interface="org.simantics.scenegraph.profile.Style">
240                 <resource uri="http://www.simantics.org/Modeling-0.0/SymbolCodeStyle"
241                         class="org.simantics.modeling.adapters.SymbolCodeStyle">
242                 </resource>
243         </target>
244
245 </adapters>