Copy URI context menu action to Model Browser for development mode
[simantics/platform.git] / bundles / org.simantics.modeling / adapters.xml
index 892fdbfcf95eaf7e333e865edb9c2d62198c57dd..b74449f822ed4ad9eb5084f70f7a4992fe5f2085 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r
-    Copyright (c) 2007, 2014 Association for Decentralized Information Management\r
-    in 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        Semantum Oy - ConnectionRelationStringModifierFactory\r
- -->\r
-
-<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
-       <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
-               interface="org.simantics.layer0.utils.operations.IOperation">\r
-               <!--\r           <resource\r
-                       uri="http://www.simantics.org/Modeling-0.0/Operations/NewComponentType"\r
-                       class="org.simantics.modeling.actions.NewComponentType" />\r             -->\r
-               <resource\r
-                       uri="http://www.simantics.org/Modeling-0.0/Operations/NavigateToTarget"\r
-                       class="org.simantics.modeling.actions.NavigateToTarget" />\r
-               <!--\r
-               <resource\r
-                       uri="http://www.simantics.org/Modeling-0.0/Operations/DisconnectFlag"\r
-                       class="org.simantics.modeling.actions.DisconnectFlag" />\r
-               -->\r
-       </target>\r
-       <target\r
-               interface="org.simantics.layer0.utils.predicates.IUnaryPredicate">\r
-               <resource\r
-                       uri="http://www.simantics.org/Modeling-0.0/Predicates/HasCounterpart"\r
-                       class="org.simantics.modeling.predicates.HasCounterpart" />\r
-       </target>\r
-       <target\r
-               interface="org.simantics.layer0.utils.triggers.ITrigger">\r
-               <type\r
-                       uri="http://www.simantics.org/Modeling-0.0/DiagramToCompositeMapping"\r
-                       class="org.simantics.modeling.mapping.DiagramToCompositeMapping3">\r
-                       <graph />\r
-                       <this />\r
-               </type>\r
-               <type\r
-                       uri="http://www.simantics.org/Modeling-0.0/ComponentTypeUpdater"\r
-                       class="org.simantics.modeling.mapping.ComponentTypeUpdater">\r                   <graph />\r                      <this />\r               </type>\r        </target>\r
-       <!--<target interface="java.lang.String">\r
-               <adapter uri="http://www.simantics.org/Diagram-0.0/Element"\r
-                       adapterClass="org.simantics.modeling.adapters.ElementStringAdapter" />\r
-       </target>-->\r
-\r
-       <target interface="org.simantics.structural2.modelingRules.IModelingRules">\r
-               <type uri="http://www.simantics.org/Modeling-0.0/MappedModelingRules"\r
-                       class="org.simantics.modeling.rules.MappedModelingRules">\r
-                       <graph />\r
-                       <single uri="http://www.simantics.org/Modeling-0.0/HasBaseRules"\r
-                               to="org.simantics.structural2.modelingRules.IModelingRules" />\r
-               </type>\r
-       </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
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2014 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
+        Semantum Oy - ConnectionRelationStringModifierFactory
+ -->
+
+<adapters>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.CopyHandler">
+               <type
+                       uri="http://www.simantics.org/Structural-0.0/Composite"
+                       class="org.simantics.modeling.adapters.CompositeCopyHandler">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">
+               <resource uri="http://www.simantics.org/Modeling-0.0/MappingSubgraphExtent"
+                       class="org.simantics.modeling.adapters.MappingSubgraphExtent" >
+               </resource>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">
+               <resource uri="http://www.simantics.org/Diagram-0.0/DiagramSubgraphExtent"
+                       class="org.simantics.modeling.adapters.DiagramSubgraphExtent" >
+               </resource>
+       </target>
+       <target interface="org.simantics.db.layer0.adapter.SubgraphAdvisor">
+               <resource uri="http://www.simantics.org/Modeling-0.0/MappingSubgraphAdvisor"
+                       class="org.simantics.modeling.adapters.MappingSubgraphAdvisor" >
+               </resource>
+       </target>
+
+       <target
+               interface="org.simantics.layer0.utils.operations.IOperation">
+               <!--
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/Operations/NewComponentType"
+                       class="org.simantics.modeling.actions.NewComponentType" />
+               -->
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/Operations/NavigateToTarget"
+                       class="org.simantics.modeling.actions.NavigateToTarget" />
+               <!--
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/Operations/DisconnectFlag"
+                       class="org.simantics.modeling.actions.DisconnectFlag" />
+               -->
+       </target>
+       <target
+               interface="org.simantics.layer0.utils.predicates.IUnaryPredicate">
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/Predicates/HasCounterpart"
+                       class="org.simantics.modeling.predicates.HasCounterpart" />
+       </target>
+       <target
+               interface="org.simantics.layer0.utils.triggers.ITrigger">
+               <type
+                       uri="http://www.simantics.org/Modeling-0.0/DiagramToCompositeMapping"
+                       class="org.simantics.modeling.mapping.DiagramToCompositeMapping3">
+                       <graph />
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Modeling-0.0/ComponentTypeUpdater"
+                       class="org.simantics.modeling.mapping.ComponentTypeUpdater">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+       <!--<target interface="java.lang.String">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/Element"
+                       adapterClass="org.simantics.modeling.adapters.ElementStringAdapter" />
+       </target>-->
+
+       <target interface="org.simantics.structural2.modelingRules.IModelingRules">
+               <type uri="http://www.simantics.org/Modeling-0.0/MappedModelingRules"
+                       class="org.simantics.modeling.rules.MappedModelingRules">
+                       <graph />
+                       <single uri="http://www.simantics.org/Modeling-0.0/HasBaseRules"
+                               to="org.simantics.structural2.modelingRules.IModelingRules" />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.Remover">
+               <type uri="http://www.simantics.org/Structural-0.0/Component"
+                       class="org.simantics.db.layer0.adapter.impl.RelatedObjectRemover">
+                       <graph />
+                       <this />
+                       <string>http://www.simantics.org/Modeling-0.0/ComponentToElement</string>
+                       <string>http://www.simantics.org/Modeling-0.0/HasParentComponent/Inverse</string>
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Element" class="org.simantics.modeling.adapters.ElementRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Monitor" class="org.simantics.modeling.adapters.MonitorRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Charts-0.0/Chart"
+                       class="org.simantics.db.layer0.adapter.impl.ConsistsOfRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Simulation-0.0/Run" 
+                     class="org.simantics.modeling.adapters.RunRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Flag"
+                       class="org.simantics.modeling.adapters.FlagRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
+                       class="org.simantics.modeling.adapters.ConnectionRelationRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Terminal"
+                       class="org.simantics.modeling.adapters.TerminalRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Modeling-0.0/ReferenceElement"
+                       class="org.simantics.modeling.adapters.ReferenceElementRemover">
+                       <this />
+               </type>
+       </target>
+       
+       <target interface="org.simantics.scl.runtime.function.Function">
+        <resource uri="http://www.simantics.org/Simulation-0.0/ActiveExperiment"
+            class="org.simantics.modeling.adapters.ActiveExperiment">
+        </resource>
+    </target>
+
+    <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+        <type uri="http://www.simantics.org/Modeling-0.0/NewComposite"
+            class="org.simantics.modeling.adapters.NewCompositeActionFactory">
+            <single uri="http://www.simantics.org/Modeling-0.0/NewComposite/HasCompositeType" />
+            <single uri="http://www.simantics.org/Modeling-0.0/NewComposite/HasDefaultName"
+                    to="java.lang.String" />
+        </type>
+    </target>
+    
+    <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+        <type uri="http://www.simantics.org/Modeling-0.0/ExportModel"
+            class="org.simantics.modeling.adapters.ExportModelActionFactory">
+            <single uri="http://www.simantics.org/Modeling-0.0/ExportModel/extension"
+                    to="java.lang.String" />
+            <single uri="http://www.simantics.org/Modeling-0.0/ExportModel/format"
+                    to="java.lang.String" />
+        </type>
+        <type uri="http://www.simantics.org/Modeling-0.0/SCLAction"
+            class="org.simantics.modeling.SCLAction">
+            <graph/>
+            <this/>
+        </type>
+               <resource uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Help"
+                       class="org.simantics.modeling.actions.Help" />
+        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/CopyURI"
+            class="org.simantics.modeling.actions.CopyURI" />
+    </target>
+
+       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
+               <type uri="http://www.simantics.org/Modeling-0.0/SCLDropAction"
+                       class="org.simantics.modeling.SCLDropAction">
+                       <graph/>
+                       <this/>
+               </type>
+       </target>
+
+    <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+        <type uri="http://www.simantics.org/Modeling-0.0/SCLChildRule"
+            class="org.simantics.modeling.adapters.SCLChildRule">
+                       <graph />
+                       <this />
+        </type>
+    </target>    
+
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <type uri="http://www.simantics.org/Modeling-0.0/SCLLabelRule"
+            class="org.simantics.modeling.adapters.SCLLabelRule">
+                       <graph />
+                       <this />
+        </type>
+    </target>    
+
+    <target interface="org.simantics.browsing.ui.model.tests.Test">
+        <type uri="http://www.simantics.org/Modeling-0.0/SCLTest"
+            class="org.simantics.modeling.adapters.SCLTest">
+                       <graph />
+                       <this />
+        </type>
+    </target>    
+
+       <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">
+               <type
+                       uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
+                       class="org.simantics.modeling.adapters.ConnectionRelationStringModifierFactory">
+                       <this />
+               </type>
+       </target>
+
+
+       <target interface="org.simantics.db.layer0.variable.VariableBuilder">
+               <type uri="http://www.simantics.org/Modeling-1.2/SCLCommandSession" class="org.simantics.modeling.scl.SCLVariableBuilder" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.migration.MigrationStep">
+               <resource uri="http://www.simantics.org/Modeling-1.2/Migration/attachCreationInformationStep"
+                       class="org.simantics.modeling.migration.AttachCreationInformationStep"
+                       constructor="get">
+               </resource>
+               <resource uri="http://www.simantics.org/Modeling-1.2/Migration/guidCreationStep"
+                       class="org.simantics.modeling.migration.GuidCreationStep"
+                       constructor="get">
+               </resource>
+               <resource uri="http://www.simantics.org/Modeling-1.2/Migration/layerCleanupMigrationStep"
+                       class="org.simantics.modeling.migration.LayerCleanupMigrationStep">
+               </resource>
+               <resource uri="http://www.simantics.org/Modeling-1.2/Migration/documentCleanupMigrationStep"
+                       class="org.simantics.modeling.migration.DocumentCleanupMigrationStep">
+               </resource>
+       </target>
+
+       <target interface="org.simantics.modeling.typicals.ITypicalSynchronizationRule">
+               <baseType
+                       uri="http://www.simantics.org/Modeling-0.0/TypicalSynchronizationRule" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/PageSettingsTypicalRule"
+                       class="org.simantics.modeling.typicals.rules.PageSettingsTypicalRule"
+                       constructor="get" />
+       </target>
+
+       <target interface="org.simantics.scenegraph.profile.Style">
+               <resource uri="http://www.simantics.org/Modeling-0.0/SymbolCodeStyle"
+                       class="org.simantics.modeling.adapters.SymbolCodeStyle">
+               </resource>
+       </target>
+
 </adapters>
\ No newline at end of file