Sync git svn branch with SVN repository r33203.
[simantics/platform.git] / bundles / org.simantics.modeling / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r<!--\r
2     Copyright (c) 2007, 2014 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        Semantum Oy - ConnectionRelationStringModifierFactory\r
11  -->\r
12
13 <adapters>\r\r    <target\r                interface="org.simantics.db.layer0.adapter.CopyHandler">\r               <type\r                  uri="http://www.simantics.org/Structural-0.0/Composite"\r                        class="org.simantics.modeling.adapters.CompositeCopyHandler">\r                  <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">\r            <resource uri="http://www.simantics.org/Modeling-0.0/MappingSubgraphExtent"\r                    class="org.simantics.modeling.adapters.MappingSubgraphExtent" >\r                </resource>\r    </target>\r\r     <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">\r            <resource uri="http://www.simantics.org/Diagram-0.0/DiagramSubgraphExtent"\r                     class="org.simantics.modeling.adapters.DiagramSubgraphExtent" >\r                </resource>\r    </target>\r\r
14         <target interface="org.simantics.db.layer0.adapter.SubgraphAdvisor">\r           <resource uri="http://www.simantics.org/Modeling-0.0/MappingSubgraphAdvisor"\r                   class="org.simantics.modeling.adapters.MappingSubgraphAdvisor" >\r               </resource>\r    </target>\r\r     <target\r
15                 interface="org.simantics.layer0.utils.operations.IOperation">\r
16                 <!--\r           <resource\r
17                         uri="http://www.simantics.org/Modeling-0.0/Operations/NewComponentType"\r
18                         class="org.simantics.modeling.actions.NewComponentType" />\r             -->\r
19                 <resource\r
20                         uri="http://www.simantics.org/Modeling-0.0/Operations/NavigateToTarget"\r
21                         class="org.simantics.modeling.actions.NavigateToTarget" />\r
22                 <!--\r
23                 <resource\r
24                         uri="http://www.simantics.org/Modeling-0.0/Operations/DisconnectFlag"\r
25                         class="org.simantics.modeling.actions.DisconnectFlag" />\r
26                 -->\r
27         </target>\r
28         <target\r
29                 interface="org.simantics.layer0.utils.predicates.IUnaryPredicate">\r
30                 <resource\r
31                         uri="http://www.simantics.org/Modeling-0.0/Predicates/HasCounterpart"\r
32                         class="org.simantics.modeling.predicates.HasCounterpart" />\r
33         </target>\r
34         <target\r
35                 interface="org.simantics.layer0.utils.triggers.ITrigger">\r
36                 <type\r
37                         uri="http://www.simantics.org/Modeling-0.0/DiagramToCompositeMapping"\r
38                         class="org.simantics.modeling.mapping.DiagramToCompositeMapping3">\r
39                         <graph />\r
40                         <this />\r
41                 </type>\r
42                 <type\r
43                         uri="http://www.simantics.org/Modeling-0.0/ComponentTypeUpdater"\r
44                         class="org.simantics.modeling.mapping.ComponentTypeUpdater">\r                   <graph />\r                      <this />\r               </type>\r        </target>\r
45         <!--<target interface="java.lang.String">\r
46                 <adapter uri="http://www.simantics.org/Diagram-0.0/Element"\r
47                         adapterClass="org.simantics.modeling.adapters.ElementStringAdapter" />\r
48         </target>-->\r
49 \r
50         <target interface="org.simantics.structural2.modelingRules.IModelingRules">\r
51                 <type uri="http://www.simantics.org/Modeling-0.0/MappedModelingRules"\r
52                         class="org.simantics.modeling.rules.MappedModelingRules">\r
53                         <graph />\r
54                         <single uri="http://www.simantics.org/Modeling-0.0/HasBaseRules"\r
55                                 to="org.simantics.structural2.modelingRules.IModelingRules" />\r
56                 </type>\r
57         </target>\r\r     <target interface="org.simantics.db.layer0.adapter.Remover">\r           <type uri="http://www.simantics.org/Structural-0.0/Component"\r                  class="org.simantics.db.layer0.adapter.impl.RelatedObjectRemover">\r                     <graph />\r                      <this />\r                       <string>http://www.simantics.org/Modeling-0.0/ComponentToElement</string>\r                      <string>http://www.simantics.org/Modeling-0.0/HasParentComponent/Inverse</string>\r              </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Element" class="org.simantics.modeling.adapters.ElementRemover">\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Monitor" class="org.simantics.modeling.adapters.MonitorRemover">\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Charts-0.0/Chart"\r                  class="org.simantics.db.layer0.adapter.impl.ConsistsOfRemover">\r                        <this />\r               </type>\r                <type uri="http://www.simantics.org/Simulation-0.0/Run" \r                     class="org.simantics.modeling.adapters.RunRemover">\r                      <this />\r               </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Flag"\r                  class="org.simantics.modeling.adapters.FlagRemover">\r                   <this />\r               </type>\r                <type uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"\r                 class="org.simantics.modeling.adapters.ConnectionRelationRemover">\r                     <this />\r               </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Terminal"\r                      class="org.simantics.modeling.adapters.TerminalRemover">\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Modeling-0.0/ReferenceElement"\r                     class="org.simantics.modeling.adapters.ReferenceElementRemover">\r                       <this />\r               </type>\r        </target>\r      \r       <target interface="org.simantics.scl.runtime.function.Function">\r        <resource uri="http://www.simantics.org/Simulation-0.0/ActiveExperiment"\r            class="org.simantics.modeling.adapters.ActiveExperiment">\r        </resource>\r    </target>\r\r    <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r        <type uri="http://www.simantics.org/Modeling-0.0/NewComposite"\r            class="org.simantics.modeling.adapters.NewCompositeActionFactory">\r            <single uri="http://www.simantics.org/Modeling-0.0/NewComposite/HasCompositeType" />\r            <single uri="http://www.simantics.org/Modeling-0.0/NewComposite/HasDefaultName"\r                    to="java.lang.String" />\r        </type>\r    </target>\r    \r    <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r        <type uri="http://www.simantics.org/Modeling-0.0/ExportModel"\r            class="org.simantics.modeling.adapters.ExportModelActionFactory">\r            <single uri="http://www.simantics.org/Modeling-0.0/ExportModel/extension"\r                    to="java.lang.String" />\r            <single uri="http://www.simantics.org/Modeling-0.0/ExportModel/format"\r                    to="java.lang.String" />\r        </type>\r        <type uri="http://www.simantics.org/Modeling-0.0/SCLAction"\r            class="org.simantics.modeling.SCLAction">\r            <graph/>\r            <this/>\r        </type>\r          <resource uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Help"\r                       class="org.simantics.modeling.actions.Help" />\r    </target>\r    \r    <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r        <type uri="http://www.simantics.org/Modeling-0.0/SCLChildRule"\r            class="org.simantics.modeling.adapters.SCLChildRule">\r                 <graph />\r                      <this />\r        </type>\r    </target>    \r\r    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r        <type uri="http://www.simantics.org/Modeling-0.0/SCLLabelRule"\r            class="org.simantics.modeling.adapters.SCLLabelRule">\r                      <graph />\r                      <this />\r        </type>\r    </target>    \r\r    <target interface="org.simantics.browsing.ui.model.tests.Test">\r        <type uri="http://www.simantics.org/Modeling-0.0/SCLTest"\r            class="org.simantics.modeling.adapters.SCLTest">\r                 <graph />\r                      <this />\r        </type>\r    </target>    \r\r    <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">\r             <type\r                  uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"\r                       class="org.simantics.modeling.adapters.ConnectionRelationStringModifierFactory">\r                       <this />\r               </type>\r        </target>\r\r\r    <target interface="org.simantics.db.layer0.variable.VariableBuilder">\r          <type uri="http://www.simantics.org/Modeling-1.2/SCLCommandSession" class="org.simantics.modeling.scl.SCLVariableBuilder" />\r   </target>\r\r     <target interface="org.simantics.db.layer0.migration.MigrationStep">\r           <resource uri="http://www.simantics.org/Modeling-1.2/Migration/attachCreationInformationStep"\r                  class="org.simantics.modeling.migration.AttachCreationInformationStep"\r                 constructor="get">\r             </resource>\r            <resource uri="http://www.simantics.org/Modeling-1.2/Migration/guidCreationStep"\r                       class="org.simantics.modeling.migration.GuidCreationStep"\r                      constructor="get">\r             </resource>\r            <resource uri="http://www.simantics.org/Modeling-1.2/Migration/layerCleanupMigrationStep"\r                      class="org.simantics.modeling.migration.LayerCleanupMigrationStep">\r            </resource>\r            <resource uri="http://www.simantics.org/Modeling-1.2/Migration/documentCleanupMigrationStep"\r                   class="org.simantics.modeling.migration.DocumentCleanupMigrationStep">\r         </resource>\r    </target>\r\r     <target interface="org.simantics.modeling.typicals.ITypicalSynchronizationRule">\r               <baseType\r                      uri="http://www.simantics.org/Modeling-0.0/TypicalSynchronizationRule" />\r              <resource\r                      uri="http://www.simantics.org/Modeling-0.0/PageSettingsTypicalRule"\r                    class="org.simantics.modeling.typicals.rules.PageSettingsTypicalRule"\r                  constructor="get" />\r   </target>\r\r
58 </adapters>