]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural2/adapters.xml
Multiple readers and variable optimization
[simantics/platform.git] / bundles / org.simantics.structural2 / 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.structural2.modelingRules.IModelingRules">
17                 <baseType uri="http://www.simantics.org/Structural-0.0/ModelingRules" />
18                 <type uri="http://www.simantics.org/Structural-0.0/SimpleModelingRules"
19                         class="org.simantics.structural2.modelingRules.SimpleModelingRules">
20                         <single uri="http://www.simantics.org/Structural-0.0/HasConnectionType" />
21                         <single
22                                 uri="http://www.simantics.org/Structural-0.0/HasAttachmentRelation" />
23                 </type>
24                 <resource
25                         uri="http://www.simantics.org/Structural-0.0/StandardModelingRules"
26                         class="org.simantics.structural2.modelingRules.StandardModelingRules">
27                         <graph />
28                 </resource>
29         </target>
30
31         <target interface="org.simantics.db.layer0.variable.RVIResolver">
32                 <type uri="http://www.simantics.org/Structural-0.0/Component"
33                         class="org.simantics.structural2.StructuralRVIResolver" >
34                 </type>
35                 <type uri="http://www.simantics.org/Structural-0.0/Run"
36                         class="org.simantics.structural2.StructuralRVIResolver" >
37                 </type>
38                 <type uri="http://www.simantics.org/Structural-0.0/ComponentType"
39                         class="org.simantics.structural2.StructuralRVIResolver" >
40                 </type>
41         </target>
42
43         <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">
44                 <resource uri="http://www.simantics.org/Structural-0.0/ComponentType"
45                         class="org.simantics.structural2.adapter.ComponentTypeImportAdvisorFactory" >
46                 </resource>
47         </target>
48         
49         <target interface="org.simantics.db.layer0.adapter.PasteHandler">
50                         <type
51                         uri="http://www.simantics.org/Structural-0.0/ComponentType"
52                         class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
53                         <this />
54                 </type>
55         </target>
56 </adapters>