]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.spreadsheet.graph/adapters.xml
Merge commit 'a2a4242'
[simantics/platform.git] / bundles / org.simantics.spreadsheet.graph / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r<!--\r
2     Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
3     in Industry THTH ry.\r
4     All rights reserved. This program and the accompanying materials\r
5     are made available under the terms of the Eclipse Public License v1.0\r
6     which accompanies this distribution, and is available at\r
7     http://www.eclipse.org/legal/epl-v10.html\r
8    \r
9     Contributors:\r
10         VTT Technical Research Centre of Finland - initial API and implementation\r
11  -->\r
12
13 <adapters>\r
14 \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
15 <!--\r   <target\r
16                 interface="org.simantics.spreadsheet.graph.ServerCell">\r
17                 <baseType\r
18                         uri="http://www.simantics.org/Spreadsheet-0.0/Cell" />\r
19 \r
20                 <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
21                         uri="http://www.simantics.org/Spreadsheet-0.0/TextCell"\r
22                         class="org.simantics.spreadsheet.graph.servercell.TextServerCell">\r
23                 </type>\r
24 \r
25                 <type\r
26                         uri="http://www.simantics.org/Spreadsheet-0.0/TextBlockCell"\r
27                         class="org.simantics.spreadsheet.graph.servercell.TextBlockServerCell">\r
28                 </type>\r
29 \r
30                 <type\r
31                         uri="http://www.simantics.org/Spreadsheet-0.0/ExpressionCell"\r
32                         class="org.simantics.spreadsheet.graph.servercell.ExpressionServerCell">\r
33                 </type>\r
34 \r
35                 <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
36         <target\r
37 \r
38                 interface="org.simantics.spreadsheet.ModelCellCreator">\r
39                 <baseType\r
40                         uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet" />\r
41 \r
42                 <type\r
43                         uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"\r
44                         class="org.simantics.spreadsheet.graph.adapter.DefaultCellCreator">\r
45                         <graph />\r
46                         <this />\r
47                 </type>\r
48 \r
49         </target>\r      -->\r
50 \r \r
51         <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
52 </adapters>