]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural2/adapters.xml
Rest API for Historian data
[simantics/platform.git] / bundles / org.simantics.structural2 / adapters.xml
index dee2bfbf9944de63fe7c9ec481caaab5ae669a37..16bbf9591c5bb39dd9c058fdd288d85cd09569f2 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
@@ -11,7 +12,8 @@
  -->
 
 <adapters>
  -->
 
 <adapters>
-\r      <target interface="org.simantics.structural2.modelingRules.IModelingRules">
+
+       <target interface="org.simantics.structural2.modelingRules.IModelingRules">
                <baseType uri="http://www.simantics.org/Structural-0.0/ModelingRules" />
                <type uri="http://www.simantics.org/Structural-0.0/SimpleModelingRules"
                        class="org.simantics.structural2.modelingRules.SimpleModelingRules">
                <baseType uri="http://www.simantics.org/Structural-0.0/ModelingRules" />
                <type uri="http://www.simantics.org/Structural-0.0/SimpleModelingRules"
                        class="org.simantics.structural2.modelingRules.SimpleModelingRules">
                        <graph />
                </resource>
        </target>
                        <graph />
                </resource>
        </target>
-\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
+
+       <target interface="org.simantics.db.layer0.variable.RVIResolver">
+               <type uri="http://www.simantics.org/Structural-0.0/Component"
+                       class="org.simantics.structural2.StructuralRVIResolver" >
+               </type>
+               <type uri="http://www.simantics.org/Structural-0.0/Run"
+                       class="org.simantics.structural2.StructuralRVIResolver" >
+               </type>
+               <type uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.structural2.StructuralRVIResolver" >
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">
+               <resource uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.structural2.adapter.ComponentTypeImportAdvisorFactory" >
+               </resource>
+       </target>
+       
+       <target interface="org.simantics.db.layer0.adapter.PasteHandler">
+                       <type
+                       uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
+                       <this />
+               </type>
+       </target>
 </adapters>
\ No newline at end of file
 </adapters>
\ No newline at end of file