]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural2/adapters.xml
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.structural2 / adapters.xml
diff --git a/bundles/org.simantics.structural2/adapters.xml b/bundles/org.simantics.structural2/adapters.xml
new file mode 100644 (file)
index 0000000..e3d4bb0
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>\r<!--\r
+    Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+    in Industry THTH ry.\r
+    All rights reserved. This program and the accompanying materials\r
+    are made available under the terms of the Eclipse Public License v1.0\r
+    which accompanies this distribution, and is available at\r
+    http://www.eclipse.org/legal/epl-v10.html\r
+   \r
+    Contributors:\r
+        VTT Technical Research Centre of Finland - initial API and implementation\r
+ -->\r
+
+<adapters>\r
+\r      <target interface="org.simantics.structural2.modelingRules.IModelingRules">\r
+               <baseType uri="http://www.simantics.org/Structural-0.0/ModelingRules" />\r
+               <type uri="http://www.simantics.org/Structural-0.0/SimpleModelingRules"\r
+                       class="org.simantics.structural2.modelingRules.SimpleModelingRules">\r
+                       <single uri="http://www.simantics.org/Structural-0.0/HasConnectionType" />\r
+                       <single\r
+                               uri="http://www.simantics.org/Structural-0.0/HasAttachmentRelation" />\r
+               </type>\r
+               <resource\r
+                       uri="http://www.simantics.org/Structural-0.0/StandardModelingRules"\r
+                       class="org.simantics.structural2.modelingRules.StandardModelingRules">\r
+                       <graph />\r
+               </resource>\r
+       </target>\r
+\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\r
+</adapters>
\ No newline at end of file