1 <?xml version="1.0" encoding="UTF-8"?>
\r<!--
\r
2 Copyright (c) 2007, 2010 Association for Decentralized Information Management
\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
10 VTT Technical Research Centre of Finland - initial API and implementation
\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
16 interface="org.simantics.spreadsheet.graph.ServerCell">
\r
18 uri="http://www.simantics.org/Spreadsheet-0.0/Cell" />
\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
26 uri="http://www.simantics.org/Spreadsheet-0.0/TextBlockCell"
\r
27 class="org.simantics.spreadsheet.graph.servercell.TextBlockServerCell">
\r
31 uri="http://www.simantics.org/Spreadsheet-0.0/ExpressionCell"
\r
32 class="org.simantics.spreadsheet.graph.servercell.ExpressionServerCell">
\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
38 interface="org.simantics.spreadsheet.ModelCellCreator">
\r
40 uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet" />
\r
43 uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"
\r
44 class="org.simantics.spreadsheet.graph.adapter.DefaultCellCreator">
\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