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