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