]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.spreadsheet.graph/adapters.xml
Fixed adapters.xml line endings to standard LF.
[simantics/platform.git] / bundles / org.simantics.spreadsheet.graph / adapters.xml
index 3338526b907de4c107c57d584976a1e30542b4b7..1cc6a25c215fc702ef9a4913076c38c174930c89 100644 (file)
@@ -1,52 +1,45 @@
-<?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
+<?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
+    are made available under the terms of the Eclipse Public License v1.0
+    which accompanies this distribution, and is available at
+    http://www.eclipse.org/legal/epl-v10.html
+   
+    Contributors:
+        VTT Technical Research Centre of Finland - initial API and implementation
+ -->
 
-<adapters>\r
-\r<!--\r <target interface="org.simantics.db.layer0.variable.Variable">\r     <adapter uri="http://www.simantics.org/Spreadsheet-0.0/Cell"\r                       contextClass="org.simantics.db.layer0.variable.Variable"\r                       adapterClass="org.simantics.spreadsheet.graph.adapter.CellVariableAdapter" />\r      <adapter uri="http://www.simantics.org/Spreadsheet-0.0/TextCell"\r                   contextClass="org.simantics.db.layer0.variable.Variable"\r                       adapterClass="org.simantics.spreadsheet.graph.adapter.TextCellVariableAdapter" />\r          <adapter uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"\r                        contextClass="org.simantics.db.layer0.variable.Variable"\r                       adapterClass="org.simantics.spreadsheet.graph.adapter.SpreadsheetVariableAdapter" />\r   </target>\r      -->\r\r<!--\r      <target interface="org.simantics.db.layer0.variable.Variable">\r         <adapter uri="http://www.simantics.org/Spreadsheet-0.0/DefaultContent"\r             contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                 adapterClass="org.simantics.spreadsheet.graph.DefaultContentPropertyVariable"/>\r        </target>\r      -->\r            <!-- \r\r <target interface="org.simantics.db.layer0.variable.Variable">\r         <type uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"\r                       class="org.simantics.spreadsheet.graph.adapter.SpreadsheetVariable" >\r                  <graph />\r                      <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/ExpressionRealization"\r                     class="org.simantics.spreadsheet.graph.adapter.ExpressionVariable" >\r                   <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/CommandRealization"\r                        class="org.simantics.spreadsheet.graph.adapter.CommandVariable" >\r                      <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/TextRealization"\r                   class="org.simantics.spreadsheet.graph.adapter.TextVariable" >\r                 <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/MatrixRealization"\r                 class="org.simantics.spreadsheet.graph.adapter.MatrixVariable" >\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/DimensionsRealization"\r                     class="org.simantics.spreadsheet.graph.adapter.DimensionsVariable" >\r                   <this />\r               </type>\r        </target>\r              -->\r\r   <target interface="org.simantics.db.layer0.variable.VariableFactory">\r          <type uri="http://www.simantics.org/Spreadsheet-0.0/DoubleArrayCell"\r                   class="org.simantics.spreadsheet.graph.adapter.DoubleArrayCells" >\r                     <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/StringArrayCell"\r                   class="org.simantics.spreadsheet.graph.adapter.StringArrayCells" >\r                     <this />\r               </type>\r        </target>\r\r<!--\r        <target\r                interface="org.simantics.db.layer0.adapter.StringModifier">\r            <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/TextCell"\r                        class="org.simantics.spreadsheet.graph.adapter.TextCellStringModifier">\r                        <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/ExpressionCell"\r                  class="org.simantics.spreadsheet.graph.adapter.ExpressionCellStringModifier">\r                  <this />\r               </type>\r        </target>\r      -->\r\r   <target interface="org.simantics.db.layer0.adapter.Template">\r  <resource uri = "http://www.simantics.org/Spreadsheet-0.0/CompositeTemplate"\r         class = "org.simantics.spreadsheet.graph.adapter.CompositeTemplate"/>\r    </target>\r\r
-<!--\r  <target\r
-               interface="org.simantics.spreadsheet.graph.ServerCell">\r
-               <baseType\r
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Cell" />\r
-\r
-               <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/Cell"\r                    class="org.simantics.spreadsheet.graph.servercell.GenericServerCell">\r          </type>\r\r               <type\r
-                       uri="http://www.simantics.org/Spreadsheet-0.0/TextCell"\r
-                       class="org.simantics.spreadsheet.graph.servercell.TextServerCell">\r
-               </type>\r
-\r
-               <type\r
-                       uri="http://www.simantics.org/Spreadsheet-0.0/TextBlockCell"\r
-                       class="org.simantics.spreadsheet.graph.servercell.TextBlockServerCell">\r
-               </type>\r
-\r
-               <type\r
-                       uri="http://www.simantics.org/Spreadsheet-0.0/ExpressionCell"\r
-                       class="org.simantics.spreadsheet.graph.servercell.ExpressionServerCell">\r
-               </type>\r
-\r
-               <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/CommandCell"\r                     class="org.simantics.spreadsheet.graph.servercell.CommandServerCell">\r          </type>\r\r               <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/MatrixCell"\r                      class="org.simantics.spreadsheet.graph.servercell.MatrixServerCell">\r           </type>\r\r       </target>\r
-       <target\r
-\r
-               interface="org.simantics.spreadsheet.ModelCellCreator">\r
-               <baseType\r
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet" />\r
-\r
-               <type\r
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"\r
-                       class="org.simantics.spreadsheet.graph.adapter.DefaultCellCreator">\r
-                       <graph />\r
-                       <this />\r
-               </type>\r
-\r
-       </target>\r      -->\r
-\r \r
-       <target interface="org.simantics.db.layer0.adapter.Remover">\r           <type uri="http://www.simantics.org/Spreadsheet-0.0/Book"\r                      class="org.simantics.spreadsheet.graph.adapter.SpreadsheetBookRemover">\r                        <this />\r               </type>\r        </target>\r\r \r   <target interface="org.simantics.db.layer0.variable.VariableBuilder">\r          <type uri="http://www.simantics.org/Spreadsheet-1.2/Book" class="org.simantics.spreadsheet.graph.SpreadsheetVariableBuilder" />\r        </target>\r \r
+<adapters>
+
+       <target interface="org.simantics.db.layer0.variable.VariableFactory">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/DoubleArrayCell"
+                       class="org.simantics.spreadsheet.graph.adapter.DoubleArrayCells" >
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/StringArrayCell"
+                       class="org.simantics.spreadsheet.graph.adapter.StringArrayCells" >
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.Template">
+       <resource uri = "http://www.simantics.org/Spreadsheet-0.0/CompositeTemplate"
+             class = "org.simantics.spreadsheet.graph.adapter.CompositeTemplate"/>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.Remover">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/Book"
+                       class="org.simantics.spreadsheet.graph.adapter.SpreadsheetBookRemover">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.VariableBuilder">
+               <type uri="http://www.simantics.org/Spreadsheet-1.2/Book" class="org.simantics.spreadsheet.graph.SpreadsheetVariableBuilder" />
+       </target>
 </adapters>
\ No newline at end of file