]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Again, fixing adapters.xml line feed corrruption with CLI tools.
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 12 Sep 2017 12:45:50 +0000 (15:45 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 12 Sep 2017 12:45:50 +0000 (15:45 +0300)
refs #7479

bundles/org.simantics.sysdyn.ui/adapters.xml

index 5b142368bb58f390930a6a9612c01b42ad233e53..24267a0f3a33d2c8676a999331ac77a563a9938d 100644 (file)
@@ -1 +1,368 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2010 Association for Decentralized Information Management in\r    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\r<adapters>\r\r  <!--\r   <target interface="org.simantics.db.layer0.adapter.Realization">\r               <type uri="http://www.simantics.org/Sysdyn-0.0/Module"\r                 class="org.simantics.structural2.realization.StructuralRealization">\r                   <this />\r               </type>\r        </target>\r      -->\r\r   <target interface="org.simantics.layer0.utils.triggers.ITrigger">\r      <type uri = "http://www.simantics.org/Sysdyn-0.0/DiagramToCompositeMapping"\r          class = "org.simantics.sysdyn.ui.editor.DiagramToCompositeMapping3">\r         <graph/>\r           <this />\r       </type>\r        </target>\r      \r       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">\r               <type uri="http://www.simantics.org/Simulation-0.0/Model"\r                      class="org.simantics.structural.ui.modelBrowser.nodes.ModelNode">\r                      <this />\r               </type>\r        </target>               \r               \r\r      <target\r                interface="org.simantics.browsing.ui.common.node.AbstractNode">\r                <type uri="http://www.simantics.org/Simulation-0.0/Model"\r                      class="org.simantics.sysdyn.ui.browser.nodes.ModelNode">\r                       <this />\r               </type>\r\r               <resource\r                      uri="http://www.simantics.org/Sysdyn-0.0/ModuleSymbol"\r                 class="org.simantics.sysdyn.ui.browser.nodes.SymbolNode">\r                      <this />\r               </resource>\r\r           <type\r                  uri="http://www.simantics.org/Simulation-0.0/Experiment"\r                       class="org.simantics.sysdyn.ui.browser.nodes.ExperimentNode">\r                  <this />\r               </type>\r                \r               <type\r                  uri="http://www.simantics.org/Sysdyn-0.0/Result"\r                       class="org.simantics.sysdyn.ui.browser.nodes.SimulationResultNode">\r                    <this />\r               </type>\r                \r       </target>\r\r     <!-- Inject default connection routing algorithm for sysdyn diagrams -->\r       <target interface="org.simantics.g2d.diagram.DiagramClass">\r            <adapter uri="http://www.simantics.org/Sysdyn-0.0/ConfigurationDiagram"\r                        adapterClass="org.simantics.sysdyn.ui.elements.ConfigurationDiagramClassAdapter" />\r    </target>\r\r     <!-- Sysdyn symbols -->\r        <target interface="org.simantics.diagram.adapter.ElementFactory">\r              <resource uri="http://www.simantics.org/Sysdyn-0.0/StockSymbol"\r                        class="org.simantics.sysdyn.ui.elements.StockFactory" />\r               <resource uri="http://www.simantics.org/Sysdyn-0.0/ModuleSymbol"\r                       class="org.simantics.sysdyn.ui.elements.ModuleFactory" />\r              <resource uri="http://www.simantics.org/Sysdyn-0.0/ValveSymbol"\r                        class="org.simantics.sysdyn.ui.elements.ValveFactory" />\r               <resource uri="http://www.simantics.org/Sysdyn-0.0/AuxiliarySymbol"\r                    class="org.simantics.sysdyn.ui.elements.AuxiliaryFactory" />\r           <resource uri="http://www.simantics.org/Sysdyn-0.0/CloudSymbol"\r                        class="org.simantics.sysdyn.ui.elements.CloudFactory" />\r               <resource uri="http://www.simantics.org/Sysdyn-0.0/InputSymbol"\r                        class="org.simantics.sysdyn.ui.elements.InputFactory" />\r               <resource uri="http://www.simantics.org/Sysdyn-0.0/ShadowSymbol"\r                       class="org.simantics.sysdyn.ui.elements.ShadowFactory" />                       \r               <resource uri="http://www.simantics.org/Sysdyn-0.0/LoopSymbol"\r                 class="org.simantics.sysdyn.ui.elements.LoopFactory" />                 \r\r              <type uri="http://www.simantics.org/Sysdyn-0.0/StockSymbol"\r                    class="org.simantics.sysdyn.ui.elements.StockFactory" />\r               <type uri="http://www.simantics.org/Sysdyn-0.0/ModuleSymbol"\r                   class="org.simantics.sysdyn.ui.elements.ModuleFactory" />\r              <type uri="http://www.simantics.org/Sysdyn-0.0/ValveSymbol"\r                    class="org.simantics.sysdyn.ui.elements.ValveFactory" />\r               <type uri="http://www.simantics.org/Sysdyn-0.0/AuxiliarySymbol"\r                        class="org.simantics.sysdyn.ui.elements.AuxiliaryFactory" />\r           <type uri="http://www.simantics.org/Sysdyn-0.0/CloudSymbol"\r                    class="org.simantics.sysdyn.ui.elements.CloudFactory" />\r               <type uri="http://www.simantics.org/Sysdyn-0.0/InputSymbol"\r                    class="org.simantics.sysdyn.ui.elements.InputFactory" />        \r               <type uri="http://www.simantics.org/Sysdyn-0.0/ShadowSymbol"\r                   class="org.simantics.sysdyn.ui.elements.ShadowFactory" />       \r               <type uri="http://www.simantics.org/Sysdyn-0.0/LoopSymbol"\r                     class="org.simantics.sysdyn.ui.elements.LoopFactory" /> \r       </target>\r      \r       <!-- Additional symbols -->\r    <target interface="org.simantics.diagram.adapter.ElementFactory">\r          <resource uri="http://www.simantics.org/Sysdyn-0.0/AdditionalSymbols/MultilineText"\r            class="org.simantics.sysdyn.ui.elements.MultilineTextElementFactory" />\r        <type uri="http://www.simantics.org/Sysdyn-0.0/AdditionalSymbols/MultilineText"\r            class="org.simantics.sysdyn.ui.elements.MultilineTextElementFactory" />         \r    </target>                  \r       \r       <!-- Sysdyn connections -->\r    <target interface="org.simantics.diagram.adapter.ElementFactory">\r              <!-- Edges -->       \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/FlowConnection"\r            class="org.simantics.sysdyn.ui.elements.connections.RouteFlowEdgeFactory" />\r        <type uri="http://www.simantics.org/Sysdyn-0.0/FlowConnection"\r            class="org.simantics.sysdyn.ui.elements.connections.RouteFlowEdgeFactory" />            \r        <type uri="http://www.simantics.org/Sysdyn-0.0/FlowConnection"\r            class="org.simantics.sysdyn.ui.elements.connections.RouteFlowConnectionFactory">\r            <graph/>\r        </type>                          \r                       \r               <resource uri="http://www.simantics.org/Sysdyn-0.0/DependencyConnection"\r                       class="org.simantics.sysdyn.ui.elements.connections.DependencyEdgeFactory" />\r          <type uri="http://www.simantics.org/Sysdyn-0.0/DependencyConnection"\r                   class="org.simantics.sysdyn.ui.elements.connections.DependencyEdgeFactory" />\r          <type uri="http://www.simantics.org/Sysdyn-0.0/DependencyConnection"\r                   class="org.simantics.sysdyn.ui.elements.connections.DependencyConnectionFactory" />\r    </target>\r      \r       <target interface="org.simantics.g2d.connection.EdgeVisualsConfigurer">\r          <baseType uri="http://www.simantics.org/Diagram-0.0/HasConnector" />\r   <resource uri="http://www.simantics.org/Diagram-0.0/HasPlainConnector"\r          class="org.simantics.diagram.content.ArrowConfigurer">\r         <string>none 0</string>\r       </resource>\r    <resource uri="http://www.simantics.org/Diagram-0.0/HasArrowConnector"\r          class="org.simantics.diagram.content.ArrowConfigurer">\r         <string>fill 1</string>\r       </resource>\r  </target>\r      \r       <!-- ModelBrowser2 -->\r \r       <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleTypeChildRule"\r            class="org.simantics.sysdyn.ui.browser.childrules.ModuleTypeChildRule"/>\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleContentChildRule"\r            class="org.simantics.sysdyn.ui.browser.childrules.ModuleContentChildRule"/>              \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/VariableChildRule"\r            class="org.simantics.sysdyn.ui.browser.childrules.VariableChildRule"/>                  \r                  \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/HistoryDataset/HistoryDatasetVariablesBrowseContext/VariableChildRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.historyDataset.VariableChildRule"/>     \r        <resource uri=" http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterChildRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterChildRule"/>              \r            \r            \r       <!-- Sensitivity analysis -->\r      <resource uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/ParameterBrowseContext/ParameterChildRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.ParameterChildRule"/>         \r    </target>\r    \r    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleTypeLabelRule"\r            class="org.simantics.sysdyn.ui.browser.labelrules.ModuleTypeLabelRule"/>\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/VariableNameLabelRule"\r            class="org.simantics.sysdyn.ui.browser.labelrules.VariableNameLabelRule"/>\r\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/VariableImageRule"\r            class="org.simantics.sysdyn.ui.browser.imagerules.VariableImageRule"/>   \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ChartImageRule"\r            class="org.simantics.sysdyn.ui.browser.imagerules.ChartImageRule"/>      \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ResultImageRule"\r            class="org.simantics.sysdyn.ui.browser.imagerules.ResultImageRule"/>                        \r            \r  \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/HistoryDataset/HistoryDatasetVariablesBrowseContext/VariableLabelRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.historyDataset.VariableLabelRule"/>                \r\r            \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterLabelRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterLabelRule"/>    \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterLabelDecorationRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterLabelDecorationRule"/>               \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterModifierRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterModifierRule"/>    \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterSorterRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterSorterRule"/>      \r            \r    <!-- Sensitivity analysis -->\r      <resource uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/ParameterBrowseContext/ParameterLabelRule"\r            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.ParameterLabelRule"/>\r\r    </target>    \r    \r    <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewModuleType"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewModuleTypeAction" />\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewEnumeration"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewEnumerationAction" />\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewFunction"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewFunctionAction" />\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewFunctionLibrary"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewFunctionLibraryAction" />\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewSharedFunctionLibrary"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewSharedFunctionLibraryAction" />   \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewExperiment"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewExperimentAction" />   \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewSimulationPlaybackExperiment"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewSimulationPlaybackExperimentAction" />    \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewLineChart"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewLineChartAction" /> \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewBarChart"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewBarChartAction" /> \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewPieChart"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewPieChartAction" />        \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewSheet"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewSheetAction" />       \r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewHistoryData"\r            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewHistoryDataAction" />                                                                                              \r    </target>         \r    \r   <target interface="org.simantics.db.layer0.adapter.DropActionFactory">\r        <resource\r            uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/FunctionDropAction"\r            class="org.simantics.sysdyn.ui.browser.actions.drop.FunctionDropAction" />\r        <resource\r            uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/ChartDropAction"\r            class="org.simantics.sysdyn.ui.browser.actions.drop.ChartDropAction" />            \r   \r                    \r    </target>     \r  \r    <target interface="org.simantics.db.layer0.adapter.Remover">\r        <type uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleSymbol"\r            class="org.simantics.sysdyn.ui.browser.actions.remove.ModuleTypeRemover">\r            <graph />\r            <this />\r        </type>\r        <type uri="http://www.simantics.org/Sysdyn-0.0/Variable"\r            class="org.simantics.sysdyn.ui.actions.SysdynVariableRemover">\r            <this />\r        </type>\r    </target>\r    \r    \r    <target interface="org.simantics.browsing.ui.model.nodetypes.NodeType">\r        <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />\r        <type\r            uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleSymbolNodeType"\r            class="org.simantics.sysdyn.ui.browser.nodeTypes.ModuleSymbolNodeType"\r            constructor="create">\r            <this/>\r        </type>        \r     </target>\r    \r  <!-- PROFILES -->\r    <target interface="org.simantics.scenegraph.profile.Style">\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/SimulationPlaybackStyle"\r            class="org.simantics.sysdyn.ui.elements.profiles.SimulationPlaybackStyle">\r        </resource>\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/IssueStyle"\r            class="org.simantics.sysdyn.ui.elements.profiles.IssueDecorationStyle">\r        </resource>\r        <resource uri="http://www.simantics.org/Sysdyn-0.0/ShadowStyle"\r            class="org.simantics.sysdyn.ui.elements.profiles.ShadowStyle">\r        </resource>        \r    </target>\r    \r \r    <!--  TODO: currently maps jfree concepts directly to Sysdyn implementations. Sysdyn needs tool specific types for the datasets. -->\r    <!--  TODO: AllVariablesOfModel query is run on random Resources; listing all possible types explicitly is cumbersome, we need a better implementation. -->\r    <target interface="org.simantics.jfreechart.chart.properties.IAllVariablesOfModel">  \r        <type uri="http://www.simantics.org/Sysdyn-1.1/SysdynModel"\r            class="org.simantics.sysdyn.ui.trend.AllVariablesOfModel">\r            <this />\r        </type>  \r        <type uri="http://www.simantics.org/JFreeChart-1.0/NumberAxis"\r            class="org.simantics.sysdyn.ui.trend.AllVariablesOfModel">\r            <this />\r        </type>   \r        <type uri="http://www.simantics.org/JFreeChart-1.0/Series"\r            class="org.simantics.sysdyn.ui.trend.AllVariablesOfModel">\r            <this />\r        </type>      \r        <type uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/Parameter"\r            class="org.simantics.sysdyn.ui.trend.AllParametersOfModel">\r            <this />\r        </type>\r    </target> \r       \r    <target interface="org.simantics.jfreechart.chart.properties.RangeHandlerFactory">  \r        <type uri="http://www.simantics.org/JFreeChart-1.0/Series"\r            class="org.simantics.sysdyn.ui.trend.SysdynRangeHandlerFactory">\r        </type>    \r        <type uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/Parameter"\r            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.SensitivityRangeHandlerFactory">\r        </type>\r    </target> \r    \r    <!--  TODO: currently maps jfree concepts directly to Sysdyn implementations. Sysdyn needs tool specific types for the datasets. -->\r     <target interface="org.simantics.jfreechart.chart.IDataset">\r        <type uri="http://www.simantics.org/JFreeChart-0.0/XYDataset"\r            class="org.simantics.sysdyn.ui.trend.XYDataset">\r            <graph />\r            <this />\r        </type>\r        <type uri="http://www.simantics.org/JFreeChart-0.0/CategoryDataset"\r            class="org.simantics.sysdyn.ui.trend.CategoryDataset">\r            <graph />\r            <this />\r        </type>        \r        <type uri="http://www.simantics.org/JFreeChart-0.0/PieDataset"\r            class="org.simantics.sysdyn.ui.trend.PieDataset">\r            <graph />\r            <this />\r        </type>   \r        <type uri="http://www.simantics.org/Sysdyn-0.0/Charts/SensitivityDataset"\r            class="org.simantics.sysdyn.ui.trend.SensitivityDataset">\r            <graph />\r            <this />\r        </type>\r    </target>\r    \r       <!-- Sensitivity analysis -->\r   <target\r        interface="org.simantics.sysdyn.ui.properties.widgets.sensitivity.IDistributionProperties">\r        <type\r            uri="http://www.simantics.org/Sysdyn-0.0/NormalDistribution"\r            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.NormalDistributionProperties">\r            <this />\r        </type>       \r        <type\r            uri="http://www.simantics.org/Sysdyn-0.0/UniformDistribution"\r            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.UniformDistributionProperties">\r            <this />\r        </type> \r        <type\r            uri="http://www.simantics.org/Sysdyn-0.0/Interval"\r            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.IntervalProperties">\r            <this />\r        </type>\r    </target>\r    \r    <!-- Search -->\r       <target interface="org.simantics.scl.runtime.function.Function">\r               <resource uri="http://www.simantics.org/Sysdyn-0.0/ModulesSearchFunction"\r                      class="org.simantics.sysdyn.ui.function.ModulesSearchFunction">\r                </resource>\r    </target>\r\r     <!-- Backwards compatibility for old SelectionProcessor -->\r    <target interface="org.simantics.selectionview.SelectionProcessor">\r            <resource uri="http://www.simantics.org/Sysdyn-0.0/SysdynSelectionProcessor"\r                   class="org.simantics.sysdyn.ui.properties.ResourceSelectionProcessor">\r         </resource>\r    </target>\r\r</adapters>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 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>
+
+       <!--
+       <target interface="org.simantics.db.layer0.adapter.Realization">
+               <type uri="http://www.simantics.org/Sysdyn-0.0/Module"
+                       class="org.simantics.structural2.realization.StructuralRealization">
+                       <this />
+               </type>
+       </target>
+       -->
+
+       <target interface="org.simantics.layer0.utils.triggers.ITrigger">
+       <type uri = "http://www.simantics.org/Sysdyn-0.0/DiagramToCompositeMapping"
+             class = "org.simantics.sysdyn.ui.editor.DiagramToCompositeMapping3">
+           <graph/>
+               <this />
+       </type>
+       </target>
+       
+       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
+               <type uri="http://www.simantics.org/Simulation-0.0/Model"
+                       class="org.simantics.structural.ui.modelBrowser.nodes.ModelNode">
+                       <this />
+               </type>
+       </target>               
+               
+
+       <target
+               interface="org.simantics.browsing.ui.common.node.AbstractNode">
+               <type uri="http://www.simantics.org/Simulation-0.0/Model"
+                       class="org.simantics.sysdyn.ui.browser.nodes.ModelNode">
+                       <this />
+               </type>
+
+               <resource
+                       uri="http://www.simantics.org/Sysdyn-0.0/ModuleSymbol"
+                       class="org.simantics.sysdyn.ui.browser.nodes.SymbolNode">
+                       <this />
+               </resource>
+
+               <type
+                       uri="http://www.simantics.org/Simulation-0.0/Experiment"
+                       class="org.simantics.sysdyn.ui.browser.nodes.ExperimentNode">
+                       <this />
+               </type>
+               
+               <type
+                       uri="http://www.simantics.org/Sysdyn-0.0/Result"
+                       class="org.simantics.sysdyn.ui.browser.nodes.SimulationResultNode">
+                       <this />
+               </type>
+               
+       </target>
+
+       <!-- Inject default connection routing algorithm for sysdyn diagrams -->
+       <target interface="org.simantics.g2d.diagram.DiagramClass">
+               <adapter uri="http://www.simantics.org/Sysdyn-0.0/ConfigurationDiagram"
+                       adapterClass="org.simantics.sysdyn.ui.elements.ConfigurationDiagramClassAdapter" />
+       </target>
+
+       <!-- Sysdyn symbols -->
+       <target interface="org.simantics.diagram.adapter.ElementFactory">
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/StockSymbol"
+                       class="org.simantics.sysdyn.ui.elements.StockFactory" />
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/ModuleSymbol"
+                       class="org.simantics.sysdyn.ui.elements.ModuleFactory" />
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/ValveSymbol"
+                       class="org.simantics.sysdyn.ui.elements.ValveFactory" />
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/AuxiliarySymbol"
+                       class="org.simantics.sysdyn.ui.elements.AuxiliaryFactory" />
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/CloudSymbol"
+                       class="org.simantics.sysdyn.ui.elements.CloudFactory" />
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/InputSymbol"
+                       class="org.simantics.sysdyn.ui.elements.InputFactory" />
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/ShadowSymbol"
+                       class="org.simantics.sysdyn.ui.elements.ShadowFactory" />                       
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/LoopSymbol"
+                       class="org.simantics.sysdyn.ui.elements.LoopFactory" />                 
+
+               <type uri="http://www.simantics.org/Sysdyn-0.0/StockSymbol"
+                       class="org.simantics.sysdyn.ui.elements.StockFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/ModuleSymbol"
+                       class="org.simantics.sysdyn.ui.elements.ModuleFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/ValveSymbol"
+                       class="org.simantics.sysdyn.ui.elements.ValveFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/AuxiliarySymbol"
+                       class="org.simantics.sysdyn.ui.elements.AuxiliaryFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/CloudSymbol"
+                       class="org.simantics.sysdyn.ui.elements.CloudFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/InputSymbol"
+                       class="org.simantics.sysdyn.ui.elements.InputFactory" />        
+               <type uri="http://www.simantics.org/Sysdyn-0.0/ShadowSymbol"
+                       class="org.simantics.sysdyn.ui.elements.ShadowFactory" />       
+               <type uri="http://www.simantics.org/Sysdyn-0.0/LoopSymbol"
+                       class="org.simantics.sysdyn.ui.elements.LoopFactory" /> 
+       </target>
+       
+       <!-- Additional symbols -->
+       <target interface="org.simantics.diagram.adapter.ElementFactory">
+           <resource uri="http://www.simantics.org/Sysdyn-0.0/AdditionalSymbols/MultilineText"
+            class="org.simantics.sysdyn.ui.elements.MultilineTextElementFactory" />
+        <type uri="http://www.simantics.org/Sysdyn-0.0/AdditionalSymbols/MultilineText"
+            class="org.simantics.sysdyn.ui.elements.MultilineTextElementFactory" />         
+    </target>                  
+       
+       <!-- Sysdyn connections -->
+       <target interface="org.simantics.diagram.adapter.ElementFactory">
+               <!-- Edges -->       
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/FlowConnection"
+            class="org.simantics.sysdyn.ui.elements.connections.RouteFlowEdgeFactory" />
+        <type uri="http://www.simantics.org/Sysdyn-0.0/FlowConnection"
+            class="org.simantics.sysdyn.ui.elements.connections.RouteFlowEdgeFactory" />            
+        <type uri="http://www.simantics.org/Sysdyn-0.0/FlowConnection"
+            class="org.simantics.sysdyn.ui.elements.connections.RouteFlowConnectionFactory">
+            <graph/>
+        </type>                        
+                       
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/DependencyConnection"
+                       class="org.simantics.sysdyn.ui.elements.connections.DependencyEdgeFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/DependencyConnection"
+                       class="org.simantics.sysdyn.ui.elements.connections.DependencyEdgeFactory" />
+               <type uri="http://www.simantics.org/Sysdyn-0.0/DependencyConnection"
+                       class="org.simantics.sysdyn.ui.elements.connections.DependencyConnectionFactory" />
+       </target>
+       
+       <target interface="org.simantics.g2d.connection.EdgeVisualsConfigurer">
+         <baseType uri="http://www.simantics.org/Diagram-0.0/HasConnector" />
+         <resource uri="http://www.simantics.org/Diagram-0.0/HasPlainConnector"
+          class="org.simantics.diagram.content.ArrowConfigurer">
+          <string>none 0</string>
+         </resource>
+         <resource uri="http://www.simantics.org/Diagram-0.0/HasArrowConnector"
+          class="org.simantics.diagram.content.ArrowConfigurer">
+          <string>fill 1</string>
+         </resource>
+       </target>
+       
+       <!-- ModelBrowser2 -->
+       
+       <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleTypeChildRule"
+            class="org.simantics.sysdyn.ui.browser.childrules.ModuleTypeChildRule"/>
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleContentChildRule"
+            class="org.simantics.sysdyn.ui.browser.childrules.ModuleContentChildRule"/>              
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/VariableChildRule"
+            class="org.simantics.sysdyn.ui.browser.childrules.VariableChildRule"/>                  
+                  
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/HistoryDataset/HistoryDatasetVariablesBrowseContext/VariableChildRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.historyDataset.VariableChildRule"/>     
+        <resource uri=" http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterChildRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterChildRule"/>              
+            
+            
+       <!-- Sensitivity analysis -->
+           <resource uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/ParameterBrowseContext/ParameterChildRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.ParameterChildRule"/>         
+    </target>
+    
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleTypeLabelRule"
+            class="org.simantics.sysdyn.ui.browser.labelrules.ModuleTypeLabelRule"/>
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/VariableNameLabelRule"
+            class="org.simantics.sysdyn.ui.browser.labelrules.VariableNameLabelRule"/>
+
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/VariableImageRule"
+            class="org.simantics.sysdyn.ui.browser.imagerules.VariableImageRule"/>   
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ChartImageRule"
+            class="org.simantics.sysdyn.ui.browser.imagerules.ChartImageRule"/>      
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ResultImageRule"
+            class="org.simantics.sysdyn.ui.browser.imagerules.ResultImageRule"/>                        
+            
+  
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/HistoryDataset/HistoryDatasetVariablesBrowseContext/VariableLabelRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.historyDataset.VariableLabelRule"/>                
+
+            
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterLabelRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterLabelRule"/>    
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterLabelDecorationRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterLabelDecorationRule"/>               
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterModifierRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterModifierRule"/>    
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/Module/ParameterOverrideBrowseContext/ParameterSorterRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.modules.ParameterSorterRule"/>      
+            
+       <!-- Sensitivity analysis -->
+           <resource uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/ParameterBrowseContext/ParameterLabelRule"
+            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.ParameterLabelRule"/>
+
+    </target>    
+    
+    <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewModuleType"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewModuleTypeAction" />
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewEnumeration"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewEnumerationAction" />
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewFunction"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewFunctionAction" />
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewFunctionLibrary"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewFunctionLibraryAction" />
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewSharedFunctionLibrary"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewSharedFunctionLibraryAction" />   
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewExperiment"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewExperimentAction" />   
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewSimulationPlaybackExperiment"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewSimulationPlaybackExperimentAction" />    
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewLineChart"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewLineChartAction" /> 
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewBarChart"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewBarChartAction" /> 
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewPieChart"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewPieChartAction" />        
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewSheet"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewSheetAction" />       
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/NewHistoryData"
+            class="org.simantics.sysdyn.ui.browser.actions.newActions.NewHistoryDataAction" />                                                                                              
+    </target>         
+    
+   <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
+        <resource
+            uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/FunctionDropAction"
+            class="org.simantics.sysdyn.ui.browser.actions.drop.FunctionDropAction" />
+        <resource
+            uri="http://www.simantics.org/Sysdyn-0.0/ModelingActionContext/Actions/ChartDropAction"
+            class="org.simantics.sysdyn.ui.browser.actions.drop.ChartDropAction" />            
+   
+                    
+    </target>     
+  
+    <target interface="org.simantics.db.layer0.adapter.Remover">
+        <type uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleSymbol"
+            class="org.simantics.sysdyn.ui.browser.actions.remove.ModuleTypeRemover">
+            <graph />
+            <this />
+        </type>
+        <type uri="http://www.simantics.org/Sysdyn-0.0/Variable"
+            class="org.simantics.sysdyn.ui.actions.SysdynVariableRemover">
+            <this />
+        </type>
+    </target>
+    
+    
+    <target interface="org.simantics.browsing.ui.model.nodetypes.NodeType">
+        <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />
+        <type
+            uri="http://www.simantics.org/Sysdyn-0.0/ModelingBrowseContext/ModuleSymbolNodeType"
+            class="org.simantics.sysdyn.ui.browser.nodeTypes.ModuleSymbolNodeType"
+            constructor="create">
+            <this/>
+        </type>        
+     </target>
+    
+  <!-- PROFILES -->
+    <target interface="org.simantics.scenegraph.profile.Style">
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/SimulationPlaybackStyle"
+            class="org.simantics.sysdyn.ui.elements.profiles.SimulationPlaybackStyle">
+        </resource>
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/IssueStyle"
+            class="org.simantics.sysdyn.ui.elements.profiles.IssueDecorationStyle">
+        </resource>
+        <resource uri="http://www.simantics.org/Sysdyn-0.0/ShadowStyle"
+            class="org.simantics.sysdyn.ui.elements.profiles.ShadowStyle">
+        </resource>        
+    </target>
+    
+    <!--  TODO: currently maps jfree concepts directly to Sysdyn implementations. Sysdyn needs tool specific types for the datasets. -->
+    <!--  TODO: AllVariablesOfModel query is run on random Resources; listing all possible types explicitly is cumbersome, we need a better implementation. -->
+    <target interface="org.simantics.jfreechart.chart.properties.IAllVariablesOfModel">  
+        <type uri="http://www.simantics.org/Sysdyn-1.1/SysdynModel"
+            class="org.simantics.sysdyn.ui.trend.AllVariablesOfModel">
+            <this />
+        </type>  
+        <type uri="http://www.simantics.org/JFreeChart-1.0/NumberAxis"
+            class="org.simantics.sysdyn.ui.trend.AllVariablesOfModel">
+            <this />
+        </type>   
+        <type uri="http://www.simantics.org/JFreeChart-1.0/Series"
+            class="org.simantics.sysdyn.ui.trend.AllVariablesOfModel">
+            <this />
+        </type>      
+        <type uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/Parameter"
+            class="org.simantics.sysdyn.ui.trend.AllParametersOfModel">
+            <this />
+        </type>
+    </target> 
+       
+    <target interface="org.simantics.jfreechart.chart.properties.RangeHandlerFactory">  
+        <type uri="http://www.simantics.org/JFreeChart-1.0/Series"
+            class="org.simantics.sysdyn.ui.trend.SysdynRangeHandlerFactory">
+        </type>    
+        <type uri="http://www.simantics.org/Sysdyn-0.0/SensitivityAnalysisExperiment/Parameter"
+            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.SensitivityRangeHandlerFactory">
+        </type>
+    </target> 
+    
+    <!--  TODO: currently maps jfree concepts directly to Sysdyn implementations. Sysdyn needs tool specific types for the datasets. -->
+     <target interface="org.simantics.jfreechart.chart.IDataset">
+        <type uri="http://www.simantics.org/JFreeChart-0.0/XYDataset"
+            class="org.simantics.sysdyn.ui.trend.XYDataset">
+            <graph />
+            <this />
+        </type>
+        <type uri="http://www.simantics.org/JFreeChart-0.0/CategoryDataset"
+            class="org.simantics.sysdyn.ui.trend.CategoryDataset">
+            <graph />
+            <this />
+        </type>        
+        <type uri="http://www.simantics.org/JFreeChart-0.0/PieDataset"
+            class="org.simantics.sysdyn.ui.trend.PieDataset">
+            <graph />
+            <this />
+        </type>   
+        <type uri="http://www.simantics.org/Sysdyn-0.0/Charts/SensitivityDataset"
+            class="org.simantics.sysdyn.ui.trend.SensitivityDataset">
+            <graph />
+            <this />
+        </type>
+    </target>
+    
+       <!-- Sensitivity analysis -->
+   <target
+        interface="org.simantics.sysdyn.ui.properties.widgets.sensitivity.IDistributionProperties">
+        <type
+            uri="http://www.simantics.org/Sysdyn-0.0/NormalDistribution"
+            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.NormalDistributionProperties">
+            <this />
+        </type>        
+        <type
+            uri="http://www.simantics.org/Sysdyn-0.0/UniformDistribution"
+            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.UniformDistributionProperties">
+            <this />
+        </type>        
+        <type
+            uri="http://www.simantics.org/Sysdyn-0.0/Interval"
+            class="org.simantics.sysdyn.ui.properties.widgets.sensitivity.IntervalProperties">
+            <this />
+        </type>
+    </target>
+    
+    <!-- Search -->
+       <target interface="org.simantics.scl.runtime.function.Function">
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/ModulesSearchFunction"
+                       class="org.simantics.sysdyn.ui.function.ModulesSearchFunction">
+               </resource>
+       </target>
+
+       <!-- Backwards compatibility for old SelectionProcessor -->
+       <target interface="org.simantics.selectionview.SelectionProcessor">
+               <resource uri="http://www.simantics.org/Sysdyn-0.0/SysdynSelectionProcessor"
+                       class="org.simantics.sysdyn.ui.properties.ResourceSelectionProcessor">
+               </resource>
+       </target>
+
+</adapters>
\ No newline at end of file