]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram/adapters.xml
Importing of spreadsheets
[simantics/platform.git] / bundles / org.simantics.diagram / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2007, 2010 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  -->
13
14 <adapters>
15
16         <target interface="org.simantics.scenegraph.profile.ProfileEntry">
17                 <type
18                         uri="http://www.simantics.org/Diagram-0.0/GroupStyleProfileEntry"
19                         class="org.simantics.diagram.adapter.GroupStyleProfileEntry">
20                         <graph />
21                         <this />
22                 </type>
23         </target>
24
25         <target interface="org.simantics.scenegraph.profile.Style">
26                 <type
27                         uri="http://www.simantics.org/Diagram-0.0/ConstantStyle"
28                         class="org.simantics.diagram.adapter.ConstantStyle">
29                         <graph />
30                         <this />
31                 </type>
32                 <type
33                         uri="http://www.simantics.org/Diagram-0.0/ExpressionStyle"
34                         class="org.simantics.diagram.adapter.ExpressionStyle">
35                         <this />
36                 </type>
37                 <type
38                         uri="http://www.simantics.org/Diagram-0.0/SCLTextGridStyle"
39                         class="org.simantics.diagram.profile.SCLTextGridStyle">
40                         <graph />
41                         <this />
42                 </type>
43         <type
44             uri="http://www.simantics.org/Diagram-0.0/ResourceSCLTextGridStyle"
45             class="org.simantics.diagram.profile.ResourceSCLTextGridStyle">
46             <graph />
47             <this />
48         </type>
49         </target>
50
51         <target interface="org.simantics.scenegraph.profile.Group">
52                 <type
53                         uri="http://www.simantics.org/Diagram-0.0/TypeGroup"
54                         class="org.simantics.diagram.adapter.TypeGroup">
55                         <graph />
56                         <this />
57                 </type>
58                 <type
59                         uri="http://www.simantics.org/Diagram-0.0/MappedTypeGroup"
60                         class="org.simantics.diagram.adapter.MappedTypeGroup">
61                         <graph />
62                         <this />
63                 </type>
64         </target>
65
66         <target interface="org.simantics.g2d.diagram.DiagramClass">
67                 <baseType uri="http://www.simantics.org/Diagram-0.0/Composite" />
68                 <adapter uri="http://www.simantics.org/Diagram-0.0/Composite"
69                         adapterClass="org.simantics.diagram.adapter.DiagramClassAdapter" />
70         </target>
71
72         <target interface="org.simantics.diagram.adapter.ElementFactory">
73                 <resource uri="http://www.simantics.org/Diagram-0.0/Flag"
74                         class="org.simantics.diagram.adapter.FlagClassFactory" />
75                 <resource uri="http://www.simantics.org/Diagram-0.0/Composite"
76                         class="org.simantics.diagram.adapter.CompositeClassFactory" />
77                 <resource uri="http://www.simantics.org/Diagram-0.0/DefinedElement"
78                         class="org.simantics.diagram.adapter.DefinedElementFactory" />
79                 <resource uri="http://www.simantics.org/Diagram-0.0/SVGElement"
80                         class="org.simantics.diagram.adapter.SVGElementClassFactory" />
81                 <resource uri="http://www.simantics.org/Diagram-0.0/RasterElement"
82                         class="org.simantics.diagram.adapter.RasterElementClassFactory" />
83                 <resource uri="http://www.simantics.org/Diagram-0.0/AnimatedSVGElement"
84                         class="org.simantics.diagram.adapter.AnimatedSVGElementClassFactory" />
85                 <resource uri="http://www.simantics.org/Diagram-0.0/BranchPoint"
86                         class="org.simantics.diagram.adapter.BranchPointClassFactory" />
87                 <resource uri="http://www.simantics.org/Diagram-0.0/Connection"
88                         class="org.simantics.diagram.adapter.DefaultConnectionEdgeClassFactory" />
89                 <resource uri="http://www.simantics.org/Diagram-0.0/TextElement"
90                         class="org.simantics.diagram.adapter.TextElementClassFactory" />
91
92                 <type uri="http://www.simantics.org/Diagram-0.0/Connection"
93                         class="org.simantics.diagram.adapter.DefaultConnectionClassFactory" />
94
95                 <resource uri="http://www.simantics.org/Diagram-0.0/RouteGraphConnection"
96                         class="org.simantics.diagram.adapter.RouteGraphConnectionClassFactory">
97                         <graph />
98                 </resource>
99                 <type uri="http://www.simantics.org/Diagram-0.0/RouteGraphConnection"
100                         class="org.simantics.diagram.adapter.RouteGraphConnectionClassFactory">
101                         <graph/>
102                 </type>
103                 <type uri="http://www.simantics.org/Diagram-0.0/Flag"
104                         class="org.simantics.diagram.adapter.FlagClassFactory" />
105                 <type uri="http://www.simantics.org/Diagram-0.0/Composite"
106                         class="org.simantics.diagram.adapter.CompositeClassFactory" />
107                 <type uri="http://www.simantics.org/Diagram-0.0/RasterElement"
108                         class="org.simantics.diagram.adapter.RasterElementClassFactory" />
109                 <type uri="http://www.simantics.org/Diagram-0.0/SVGElement"
110                         class="org.simantics.diagram.adapter.SVGElementClassFactory" />
111                 <type uri="http://www.simantics.org/Diagram-0.0/AnimatedSVGElement"
112                         class="org.simantics.diagram.adapter.AnimatedSVGElementClassFactory" />
113                 <type uri="http://www.simantics.org/Diagram-0.0/DefinedElement"
114                         class="org.simantics.diagram.adapter.DefinedElementFactory" />
115                 <type uri="http://www.simantics.org/Diagram-0.0/BranchPoint"
116                         class="org.simantics.diagram.adapter.BranchPointClassFactory" />
117                 <type uri="http://www.simantics.org/Diagram-0.0/TextElement"
118                         class="org.simantics.diagram.adapter.TextElementClassFactory" />
119         </target>
120
121         <target interface="org.simantics.diagram.synchronization.graph.ElementWriter">
122                 <type uri="http://www.simantics.org/Layer0-0.0/Entity"
123                         class="org.simantics.diagram.adapter.DummyElementWriter" />
124                 <resource uri="http://www.simantics.org/Diagram-0.0/Flag"
125                         class="org.simantics.diagram.adapter.FlagWriter" />
126                 <resource uri="http://www.simantics.org/Diagram-0.0/TextElement"
127                         class="org.simantics.diagram.adapter.TextElementWriter" />
128         </target>
129
130         <target interface="org.simantics.diagram.symbolcontribution.SymbolContribution">
131                 <type uri="http://www.simantics.org/Diagram-0.0/BasicSymbolContribution"
132                         class="org.simantics.diagram.symbolcontribution.BasicSymbolContribution">
133                         <this />
134                 </type>
135                 <type uri="http://www.simantics.org/Diagram-0.0/IndexRootSymbolContribution"
136                         class="org.simantics.diagram.symbolcontribution.IndexRootSymbolContribution">
137                 </type>
138         </target>
139
140         <target interface="org.simantics.diagram.symbolcontribution.SymbolContributionFilter">
141                 <resource uri="http://www.simantics.org/Diagram-0.0/DenyFilter"
142                         class="org.simantics.diagram.symbolcontribution.DenyFilter"
143                         constructor="get">
144                 </resource>
145                 <type uri="http://www.simantics.org/Diagram-0.0/SCLFilter"
146                         class="org.simantics.diagram.symbolcontribution.SCLFilter">
147                         <this />
148                 </type>
149         </target>
150
151         <target interface="org.simantics.g2d.routing.IRouter2">
152                 <resource uri="http://www.simantics.org/Diagram-0.0/LinearRouting"
153                         class="org.simantics.g2d.routing.TrivialRouter2" />
154                 <resource uri="http://www.simantics.org/Diagram-0.0/RightAngledRouting"
155                         class="org.simantics.g2d.routing.algorithm2.Router4" />
156         </target>
157
158         <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
159                 <type uri="http://www.simantics.org/Diagram-0.0/Diagram"
160                         class="org.simantics.ui.icons.BundleImageDescriptorProvider">
161                         <bundle />
162                         <string>icons/diagram.png</string>
163                 </type>
164                 <resource uri="http://www.simantics.org/Diagram-0.0/Diagram"
165                         class="org.simantics.ui.icons.BundleImageDescriptorProvider">
166                         <bundle />
167                         <string>icons/diagram.png</string>
168                 </resource>
169         </target>
170
171         <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">
172                 <type uri="http://www.simantics.org/Diagram-0.0/Flag" class="org.simantics.diagram.flag.FlagStringModifierFactory">
173                         <graph />
174                         <this />
175                 </type>
176         </target>
177
178         <target interface="org.simantics.diagram.flag.FlagLabelingScheme">
179                 <baseType uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme" />
180                 <resource
181                         uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme/Alphabetical"
182                         class="org.simantics.diagram.flag.PermutativeFlagLabelingScheme">
183                         <string>A</string>
184                         <string>A</string>
185                         <string>Z</string>
186                 </resource>
187                 <resource
188                         uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme/Numeric"
189                         class="org.simantics.diagram.flag.PermutativeFlagLabelingScheme">
190                         <string>1</string>
191                         <string>1</string>
192                         <string>9</string>
193                 </resource>
194         </target>
195
196         <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">
197                 <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/AbstractText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
198                         <this/>
199                         <bundle />
200                         <string>org.simantics.diagram.elements.TextNode</string>
201                 </type>
202                 <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/SVGImage" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
203                         <this/>
204                         <bundle />
205                         <string>org.simantics.diagram.elements.SVGNode</string>
206                 </type>
207                 <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
208                         <this/>
209                         <bundle />
210                         <string>org.simantics.scenegraph.g2d.nodes.spatial.RTreeNode</string>
211                 </type>
212         </target>
213         <target
214                 interface="org.simantics.db.layer0.adapter.PasteHandler">
215                 <type
216                         uri="http://www.simantics.org/Diagram-0.0/Scenegraph/Composite"
217                         class="org.simantics.diagram.adapter.ScenegraphCompositePasteHandler">
218                         <this />
219                 </type>
220         </target>
221
222         <target interface="org.simantics.diagram.synchronization.graph.layer.IGraphLayerUtil">
223                 <resource uri="http://www.simantics.org/Diagram-0.0/Layer"
224                         class="org.simantics.diagram.synchronization.graph.layer.GraphLayerUtil">
225                 </resource>
226         </target>
227 </adapters>