]> 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 a1eb772f4edf3fae4862ca10d2b94cbda10257f2..1cc6a25c215fc702ef9a4913076c38c174930c89 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
  -->
 
 <adapters>
-\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  <target
-               interface="org.simantics.spreadsheet.graph.ServerCell">
-               <baseType
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Cell" />
 
-               <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/Cell"\r                    class="org.simantics.spreadsheet.graph.servercell.GenericServerCell">\r          </type>\r\r               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/TextCell"
-                       class="org.simantics.spreadsheet.graph.servercell.TextServerCell">
-               </type>
-
-               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/TextBlockCell"
-                       class="org.simantics.spreadsheet.graph.servercell.TextBlockServerCell">
+       <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/ExpressionCell"
-                       class="org.simantics.spreadsheet.graph.servercell.ExpressionServerCell">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/StringArrayCell"
+                       class="org.simantics.spreadsheet.graph.adapter.StringArrayCells" >
+                       <this />
                </type>
+       </target>
 
-               <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>
-       <target
-
-               interface="org.simantics.spreadsheet.ModelCellCreator">
-               <baseType
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet" />
+       <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>
 
-               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"
-                       class="org.simantics.spreadsheet.graph.adapter.DefaultCellCreator">
-                       <graph />
+       <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>\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 
+       <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