]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural2/adapters.xml
dee2bfbf9944de63fe7c9ec481caaab5ae669a37
[simantics/platform.git] / bundles / org.simantics.structural2 / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r<!--
2     Copyright (c) 2007, 2010 Association for Decentralized Information Management
3     in Industry THTH ry.
4     All rights reserved. This program and the accompanying materials
5     are made available under the terms of the Eclipse Public License v1.0
6     which accompanies this distribution, and is available at
7     http://www.eclipse.org/legal/epl-v10.html
8    
9     Contributors:
10         VTT Technical Research Centre of Finland - initial API and implementation
11  -->
12
13 <adapters>
14 \r       <target interface="org.simantics.structural2.modelingRules.IModelingRules">
15                 <baseType uri="http://www.simantics.org/Structural-0.0/ModelingRules" />
16                 <type uri="http://www.simantics.org/Structural-0.0/SimpleModelingRules"
17                         class="org.simantics.structural2.modelingRules.SimpleModelingRules">
18                         <single uri="http://www.simantics.org/Structural-0.0/HasConnectionType" />
19                         <single
20                                 uri="http://www.simantics.org/Structural-0.0/HasAttachmentRelation" />
21                 </type>
22                 <resource
23                         uri="http://www.simantics.org/Structural-0.0/StandardModelingRules"
24                         class="org.simantics.structural2.modelingRules.StandardModelingRules">
25                         <graph />
26                 </resource>
27         </target>
28 \r       <target interface="org.simantics.db.layer0.variable.RVIResolver">\r              <type uri="http://www.simantics.org/Structural-0.0/Component"\r                  class="org.simantics.structural2.StructuralRVIResolver" >\r              </type>\r                <type uri="http://www.simantics.org/Structural-0.0/Run"\r                        class="org.simantics.structural2.StructuralRVIResolver" >\r              </type>\r                <type uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                      class="org.simantics.structural2.StructuralRVIResolver" >\r              </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">\r         <resource uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                  class="org.simantics.structural2.adapter.ComponentTypeImportAdvisorFactory" >\r          </resource>\r    </target>\r      \r       <target interface="org.simantics.db.layer0.adapter.PasteHandler">\r                      <type\r                  uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                    class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r        </target>\r
29 </adapters>