]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed adapters.xml line endings to standard LF. 66/266/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 13 Jan 2017 12:56:41 +0000 (14:56 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 13 Jan 2017 12:56:41 +0000 (14:56 +0200)
For some reason one of the original adapters.xml files had gotten a
macintosh-style CR line ending on its first line which started the
proliferation of CR line endings in all the adapters.xml files.

refs #6959

Change-Id: Ia4f41ffb38a02ddb6d25e37b12a49450a40dcf5a

34 files changed:
bundles/org.simantics.annotation.ui/adapters.xml
bundles/org.simantics.browsing.ui.graph/adapters.xml
bundles/org.simantics.browsing.ui.model/adapters.xml
bundles/org.simantics.browsing.ui.swt/adapters.xml
bundles/org.simantics.charts/adapters.xml
bundles/org.simantics.datatypes/adapters.xml
bundles/org.simantics.db.layer0/adapters.xml
bundles/org.simantics.db.services/adapters.xml
bundles/org.simantics.diagram.profile/adapters.xml
bundles/org.simantics.diagram/adapters.xml
bundles/org.simantics.document.swt.core/adapters.xml
bundles/org.simantics.document.ui/adapters.xml
bundles/org.simantics.document/adapters.xml
bundles/org.simantics.event/adapters.xml
bundles/org.simantics.image.ui/adapters.xml
bundles/org.simantics.issues.common/adapters.xml
bundles/org.simantics.issues.ui/adapters.xml
bundles/org.simantics.layer0.utils/adapters.xml
bundles/org.simantics.mapping/adapters.xml
bundles/org.simantics.modeling.template2d.ui/adapters.xml
bundles/org.simantics.modeling.ui/adapters.xml
bundles/org.simantics.modeling/adapters.xml
bundles/org.simantics.project/adapters.xml
bundles/org.simantics.scenegraph.loader/adapters.xml
bundles/org.simantics.selectionview/adapters.xml
bundles/org.simantics.simulation/adapters.xml
bundles/org.simantics.spreadsheet.graph/adapters.xml
bundles/org.simantics.spreadsheet.ui/adapters.xml
bundles/org.simantics.structural.ui/adapters.xml
bundles/org.simantics.structural2/adapters.xml
bundles/org.simantics.ui/adapters.xml
bundles/org.simantics.views.swt/adapters.xml
bundles/org.simantics.views/adapters.xml
bundles/org.simantics.wiki.ui/adapters.xml

index df1bf75e920b1c623d959331f16496a96768fa22..4bc8d9f0f4cc49d4daf0753ce0dd4d25b4adba31 100644 (file)
@@ -1,3 +1,62 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2007, 2012 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 -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2012 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.structural.ui.modelBrowser.nodes.AbstractNode">\r               <type uri="http://www.simantics.org/Annotation-0.0/Annotation"\r                 class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationNode">\r                        <this />\r               </type>\r        </target>\r      <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r             <resource\r                      uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotation"\r                    class="org.simantics.annotation.ui.actions.NewAnnotation" />\r           <resource\r                      uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationType"\r                        class="org.simantics.annotation.ui.actions.NewAnnotationType" />\r               <resource\r                      uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationInstance"\r                    class="org.simantics.annotation.ui.actions.NewAnnotationInstance" />\r   </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource\r                      uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeLabelRule"\r                     class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationTypeLabelRule"\r                        constructor="get" />\r   </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />\r          <resource\r                      uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeModifierRule"\r                  class="org.simantics.browsing.ui.model.modifiers.SingleObjectStringPropertyModifierRule">\r                      <graph />\r                      <string>http://www.simantics.org/Layer0-0.0/HasRange/Inverse</string>\r                  <string>http://www.simantics.org/Layer0-0.0/HasName</string>\r           </resource>\r    </target>\r\r     <target interface="org.simantics.ui.workbench.IEditorNamingService">\r           <type uri="http://www.simantics.org/Annotation-0.0/AnnotationType"\r                     class="org.simantics.annotation.ui.editor.AnnotationTypeEditorNamingService">\r          </type>\r        </target>\r      \r       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">\r         <resource\r                      uri="http://www.simantics.org/Annotation-1.0/Actions/AnnotationDropAction"\r                     class="org.simantics.annotation.ui.actions.AnnotationDropActionFactory" />\r     </target>\r      \r</adapters>
\ No newline at end of file
+       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
+               <type uri="http://www.simantics.org/Annotation-0.0/Annotation"
+                       class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationNode">
+                       <this />
+               </type>
+       </target>
+       <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotation"
+                       class="org.simantics.annotation.ui.actions.NewAnnotation" />
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationType"
+                       class="org.simantics.annotation.ui.actions.NewAnnotationType" />
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/Actions/NewAnnotationInstance"
+                       class="org.simantics.annotation.ui.actions.NewAnnotationInstance" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeLabelRule"
+                       class="org.simantics.annotation.ui.modelBrowser2.model.AnnotationTypeLabelRule"
+                       constructor="get" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />
+               <resource
+                       uri="http://www.simantics.org/Annotation-0.0/AnnotationBC/AnnotationTypeModifierRule"
+                       class="org.simantics.browsing.ui.model.modifiers.SingleObjectStringPropertyModifierRule">
+                       <graph />
+                       <string>http://www.simantics.org/Layer0-0.0/HasRange/Inverse</string>
+                       <string>http://www.simantics.org/Layer0-0.0/HasName</string>
+               </resource>
+       </target>
+
+       <target interface="org.simantics.ui.workbench.IEditorNamingService">
+               <type uri="http://www.simantics.org/Annotation-0.0/AnnotationType"
+                       class="org.simantics.annotation.ui.editor.AnnotationTypeEditorNamingService">
+               </type>
+       </target>
+       
+       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Annotation-1.0/Actions/AnnotationDropAction"
+                       class="org.simantics.annotation.ui.actions.AnnotationDropActionFactory" />
+       </target>
+       
+</adapters>
\ No newline at end of file
index 85c06ffc9f6ec4bec37e55514ee06e54210759d3..95434c0e815793735a68644680a5ebba104b27a0 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
@@ -11,7 +12,8 @@
  -->
 
 <adapters>
-\r<!-- 
+
+<!-- 
        <target interface="org.simantics.browsing.ui.Tester">
                <type 
                        uri = "http://www.simantics.org/Layer0-0.0/TypeContextTester"
index 153de6fc85afa4f2f3c6009c7ab799d03c5c97da..50b34347957672a684adf7fb9a5c3c3cc1807964 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2010, 2011 Association for Decentralized Information Management in
     Industry THTH ry.
     All rights reserved. This program and the accompanying materials
         <type
             uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule"
             class="org.simantics.browsing.ui.model.children.RelationChildRule">
-            <single uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule/HasRelation"/>\r            <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule/HasTest"\r                       to="org.simantics.browsing.ui.model.tests.Test"/>
+            <single uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule/HasRelation"/>
+            <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/RelationChildRule/HasTest"
+                       to="org.simantics.browsing.ui.model.tests.Test"/>
         </type>
-        <type\r            uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule"\r            class="org.simantics.browsing.ui.model.children.RelationStatementRule">\r            <single uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule/HasRelation"/>\r            <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule/HasTest"\r                       to="org.simantics.browsing.ui.model.tests.Test"/>\r        </type>\r        <type
+        <type
+            uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule"
+            class="org.simantics.browsing.ui.model.children.RelationStatementRule">
+            <single uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule/HasRelation"/>
+            <atMostOne uri="http://www.simantics.org/Viewpoint-0.0/RelationStatementRule/HasTest"
+                       to="org.simantics.browsing.ui.model.tests.Test"/>
+        </type>
+        <type
             uri="http://www.simantics.org/Viewpoint-0.0/CompositeChildRule"
             class="org.simantics.browsing.ui.model.children.CompositeChildRule">
             <graph/>
         <resource
             uri="http://www.simantics.org/Viewpoint-0.0/ResourceLabelLabelRule"
             class="org.simantics.browsing.ui.model.labels.ResourceLabelLabelRule"/>
-        <resource\r            uri="http://www.simantics.org/Viewpoint-0.0/StandardNameLabelRule"\r            class="org.simantics.browsing.ui.model.labels.StandardNameLabelRule"/>\r        <type
+        <resource
+            uri="http://www.simantics.org/Viewpoint-0.0/StandardNameLabelRule"
+            class="org.simantics.browsing.ui.model.labels.StandardNameLabelRule"/>
+        <type
             uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule"
             class="org.simantics.browsing.ui.model.labels.ConstantLabelRule">
             <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule/HasLabel" 
                     to="java.lang.String"/>
-            <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule/HasColumnKey" \r                    to="java.lang.String"/>\r        </type>
+            <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelRule/HasColumnKey" 
+                    to="java.lang.String"/>
+        </type>
         <resource
             uri="http://www.simantics.org/Viewpoint-0.0/ResourceNameModifierRule"
             class="org.simantics.browsing.ui.model.modifiers.StringPropertyModifierRule">
             <graph/>
             <string>http://www.simantics.org/Layer0-0.0/HasLabel</string>
         </resource>
-        <resource\r            uri="http://www.simantics.org/Viewpoint-0.0/VariableLabelModifierRule"\r            class="org.simantics.browsing.ui.model.modifiers.VariablePropertyModifierRule">\r            <graph/>\r            <string>HasLabel</string>\r        </resource>\r        <resource
+        <resource
+            uri="http://www.simantics.org/Viewpoint-0.0/VariableLabelModifierRule"
+            class="org.simantics.browsing.ui.model.modifiers.VariablePropertyModifierRule">
+            <graph/>
+            <string>HasLabel</string>
+        </resource>
+        <resource
             uri="http://www.simantics.org/Viewpoint-0.0/NoModifierRule"
             class="org.simantics.browsing.ui.model.modifiers.NoModifierRule"
             constructor="get">
@@ -75,7 +96,9 @@
             class="org.simantics.browsing.ui.model.images.ConstantImageRule">
             <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantImageRule/HasImage" 
                     to="org.eclipse.jface.resource.ImageDescriptor"/>
-            <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantImageRule/HasColumnKey" \r                    to="java.lang.String"/>\r        </type>
+            <single uri="http://www.simantics.org/Viewpoint-0.0/ConstantImageRule/HasColumnKey" 
+                    to="java.lang.String"/>
+        </type>
 
         <type
             uri="http://www.simantics.org/Viewpoint-0.0/ConstantLabelDecorationRule"
         <resource
             uri="http://www.simantics.org/Viewpoint-0.0/PassThruSorterRule"
             class="org.simantics.browsing.ui.model.sorters.PassThruSorterRule"/>
-        <resource\r            uri="http://www.simantics.org/Viewpoint-0.0/LinkedListSorterRule"\r            class="org.simantics.browsing.ui.model.sorters.LinkedListSorterRule"/>\r
-        <baseType uri="http://www.simantics.org/Viewpoint-0.0/ImageDecorationRule" />\r        \r        <resource\r            uri="http://www.simantics.org/Viewpoint-0.0/DescriptionTooltipRule"\r            class="org.simantics.browsing.ui.model.tooltips.DescriptionTooltipRule" />
+        <resource
+            uri="http://www.simantics.org/Viewpoint-0.0/LinkedListSorterRule"
+            class="org.simantics.browsing.ui.model.sorters.LinkedListSorterRule"/>
+        <baseType uri="http://www.simantics.org/Viewpoint-0.0/ImageDecorationRule" />
+        
+        <resource
+            uri="http://www.simantics.org/Viewpoint-0.0/DescriptionTooltipRule"
+            class="org.simantics.browsing.ui.model.tooltips.DescriptionTooltipRule" />
     </target>
     
     <target interface="org.simantics.browsing.ui.model.nodetypes.NodeType">
             uri="http://www.simantics.org/Viewpoint-0.0/HasStatementTest"
             class="org.simantics.browsing.ui.model.tests.HasStatementTest">
             <single uri="http://www.simantics.org/Viewpoint-0.0/HasStatementTest/HasRelation"/>
-        </type>\r        <type\r            uri="http://www.simantics.org/Viewpoint-0.0/HasInstanceOfTest"\r            class="org.simantics.browsing.ui.model.tests.HasInstanceOfTest">\r            <single uri="http://www.simantics.org/Viewpoint-0.0/HasInstanceOfTest/IsInstanceOf"/>\r        </type>\r        <type\r            uri="http://www.simantics.org/Viewpoint-0.0/HasNegatedTest"\r            class="org.simantics.browsing.ui.model.tests.HasNegatedTest">\r            <single uri="http://www.simantics.org/Viewpoint-0.0/HasNegatedTest/HasTest"\r                to="org.simantics.browsing.ui.model.tests.Test"/>\r        </type>
-        <type\r            uri="http://www.simantics.org/Viewpoint-0.0/AndTest"\r            class="org.simantics.browsing.ui.model.tests.AndTest">\r            <related uri="http://www.simantics.org/Viewpoint-0.0/AndTest/HasTest"\r                to="org.simantics.browsing.ui.model.tests.Test"/>\r        </type>\r        <type\r            uri="http://www.simantics.org/Viewpoint-0.0/OrTest"\r            class="org.simantics.browsing.ui.model.tests.OrTest">\r            <related uri="http://www.simantics.org/Viewpoint-0.0/OrTest/HasTest"\r                to="org.simantics.browsing.ui.model.tests.Test"/>\r        </type>\r        <type\r            uri="http://www.simantics.org/Viewpoint-0.0/InstanceOfTest"\r            class="org.simantics.browsing.ui.model.tests.InstanceOfTest">\r            <graph/>\r            <this/>\r        </type>\r        <type uri="http://www.simantics.org/Viewpoint-0.0/FailTest"\r            class="org.simantics.browsing.ui.model.tests.FailTest"\r            constructor="get">\r        </type>\r    </target>
+        </type>
+        <type
+            uri="http://www.simantics.org/Viewpoint-0.0/HasInstanceOfTest"
+            class="org.simantics.browsing.ui.model.tests.HasInstanceOfTest">
+            <single uri="http://www.simantics.org/Viewpoint-0.0/HasInstanceOfTest/IsInstanceOf"/>
+        </type>
+        <type
+            uri="http://www.simantics.org/Viewpoint-0.0/HasNegatedTest"
+            class="org.simantics.browsing.ui.model.tests.HasNegatedTest">
+            <single uri="http://www.simantics.org/Viewpoint-0.0/HasNegatedTest/HasTest"
+                to="org.simantics.browsing.ui.model.tests.Test"/>
+        </type>
+        <type
+            uri="http://www.simantics.org/Viewpoint-0.0/AndTest"
+            class="org.simantics.browsing.ui.model.tests.AndTest">
+            <related uri="http://www.simantics.org/Viewpoint-0.0/AndTest/HasTest"
+                to="org.simantics.browsing.ui.model.tests.Test"/>
+        </type>
+        <type
+            uri="http://www.simantics.org/Viewpoint-0.0/OrTest"
+            class="org.simantics.browsing.ui.model.tests.OrTest">
+            <related uri="http://www.simantics.org/Viewpoint-0.0/OrTest/HasTest"
+                to="org.simantics.browsing.ui.model.tests.Test"/>
+        </type>
+        <type
+            uri="http://www.simantics.org/Viewpoint-0.0/InstanceOfTest"
+            class="org.simantics.browsing.ui.model.tests.InstanceOfTest">
+            <graph/>
+            <this/>
+        </type>
+        <type uri="http://www.simantics.org/Viewpoint-0.0/FailTest"
+            class="org.simantics.browsing.ui.model.tests.FailTest"
+            constructor="get">
+        </type>
+    </target>
     
     <target interface="org.simantics.browsing.ui.model.actions.IActionCategory">
         <baseType uri="http://www.simantics.org/Viewpoint-0.0/ActionCategory" />
index be5e873e1230319d72d10be475aff864c56c9056..607301713a13c6201fc45c2c43873bb7c99fce04 100644 (file)
@@ -1,3 +1,79 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2007, 2012 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 -->
-<adapters>\r\r   <target\r                interface="org.simantics.browsing.ui.graph.impl.SessionContextInputSource">\r            <resource\r                      uri="http://www.simantics.org/Browsing-0.0/WorkbenchSelectionInputSource"\r                      class="org.simantics.browsing.ui.graph.impl.WorkbenchSelectionInputSource">\r            </resource>\r            <resource\r                      uri="http://www.simantics.org/Browsing-0.0/WorkbenchSelectionResourceInputSource"\r                      class="org.simantics.browsing.ui.graph.impl.WorkbenchSelectionResourceInputSource">\r            </resource>\r    </target>\r\r     <target interface="org.simantics.browsing.ui.swt.ModelledAction">\r              <type\r                  uri="http://www.simantics.org/Browsing-0.0/Wizard"\r                     class="org.simantics.browsing.ui.swt.ModelledWizard">\r                  <this/>\r                </type>\r                <type\r                  uri="http://www.simantics.org/Browsing-0.0/Dialog"\r                     class="org.simantics.browsing.ui.swt.ModelledDialog">\r                  <this/>\r                </type>\r        </target>\r\r     <target interface="org.simantics.browsing.ui.swt.ModelledIcon">\r                <type\r                  uri="http://www.simantics.org/Browsing-0.0/BundleIcon"\r                 class="org.simantics.browsing.ui.swt.BundleIcon">\r                      <graph/>\r                       <this/>\r                </type>\r        </target>\r\r     <target interface="org.simantics.browsing.ui.swt.ModelledWizardPage">\r          <type\r                  uri="http://www.simantics.org/Browsing-0.0/WizardPage"\r                 class="org.simantics.browsing.ui.swt.ModelledWizardPageImpl">\r                  <this/>\r                </type>\r        </target>\r\r     <target interface="org.simantics.browsing.ui.swt.ModelledControl">\r             <type\r                  uri="http://www.simantics.org/Browsing-0.0/GraphExplorerComposite"\r                     class="org.simantics.browsing.ui.swt.ModelledGraphExplorerComposite">\r                  <this/>\r                </type>\r                <type\r                  uri="http://www.simantics.org/Browsing-0.0/Composite"\r                  class="org.simantics.browsing.ui.swt.ModelledComposite">\r                       <this/>\r                </type>\r                <type\r                  uri="http://www.simantics.org/Browsing-0.0/Combo"\r                      class="org.simantics.browsing.ui.swt.ModelledCombo">\r                   <this/>\r                </type>\r                <type\r                  uri="http://www.simantics.org/Browsing-0.0/Button"\r                     class="org.simantics.browsing.ui.swt.ModelledButton">\r                  <this/>\r                </type>\r        </target>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2012 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.browsing.ui.graph.impl.SessionContextInputSource">
+               <resource
+                       uri="http://www.simantics.org/Browsing-0.0/WorkbenchSelectionInputSource"
+                       class="org.simantics.browsing.ui.graph.impl.WorkbenchSelectionInputSource">
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Browsing-0.0/WorkbenchSelectionResourceInputSource"
+                       class="org.simantics.browsing.ui.graph.impl.WorkbenchSelectionResourceInputSource">
+               </resource>
+       </target>
+
+       <target interface="org.simantics.browsing.ui.swt.ModelledAction">
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/Wizard"
+                       class="org.simantics.browsing.ui.swt.ModelledWizard">
+                       <this/>
+               </type>
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/Dialog"
+                       class="org.simantics.browsing.ui.swt.ModelledDialog">
+                       <this/>
+               </type>
+       </target>
+
+       <target interface="org.simantics.browsing.ui.swt.ModelledIcon">
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/BundleIcon"
+                       class="org.simantics.browsing.ui.swt.BundleIcon">
+                       <graph/>
+                       <this/>
+               </type>
+       </target>
+
+       <target interface="org.simantics.browsing.ui.swt.ModelledWizardPage">
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/WizardPage"
+                       class="org.simantics.browsing.ui.swt.ModelledWizardPageImpl">
+                       <this/>
+               </type>
+       </target>
+
+       <target interface="org.simantics.browsing.ui.swt.ModelledControl">
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/GraphExplorerComposite"
+                       class="org.simantics.browsing.ui.swt.ModelledGraphExplorerComposite">
+                       <this/>
+               </type>
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/Composite"
+                       class="org.simantics.browsing.ui.swt.ModelledComposite">
+                       <this/>
+               </type>
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/Combo"
+                       class="org.simantics.browsing.ui.swt.ModelledCombo">
+                       <this/>
+               </type>
+               <type
+                       uri="http://www.simantics.org/Browsing-0.0/Button"
+                       class="org.simantics.browsing.ui.swt.ModelledButton">
+                       <this/>
+               </type>
+       </target>
 </adapters>
index f585c7ea7e9e95b7c4c193faf7e9efde9cc960e1..c436e1605a24b9474f737d2db1f02236ddc60785 100644 (file)
@@ -1,6 +1,73 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!-- Copyright (c) 2007, 2011 Association for Decentralized Information Management \r    in Industry THTH ry. All rights reserved. This program and the accompanying \r   materials are made available under the terms of the Eclipse Public License \r    v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html \r       Contributors: VTT Technical Research Centre of Finland - initial API and \r      implementation -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (c) 2007, 2011 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.ui.icons.ImageDescriptorProvider">\r            <type uri="http://www.simantics.org/Charts-0.0/Chart/Item" class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r                       <bundle />\r                     <string>icons/tag_blue.png</string>\r            </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r             <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/NewChart"\r                  class="org.simantics.charts.ui.NewChart" />\r            <resource uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/NewChartGroup"\r                   class="org.simantics.charts.ui.NewChartGroup" />\r       </target>\r      \r
-       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">\r         <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartGroupDropAction"\r                      class="org.simantics.charts.ui.ChartGroupDropActionFactory" />\r         <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartDropAction"\r                   class="org.simantics.charts.ui.ChartDropActionFactory" />\r              <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartItemDropAction"\r                       class="org.simantics.charts.ui.ChartItemDropActionFactory" />\r      <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/SubscriptionDropAction"\r            class="org.simantics.charts.ui.SubscriptionDropActionFactory" />\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.PasteHandler">\r              <type uri="http://www.simantics.org/Charts-0.0/TimeSeriesChart"\r                        class="org.simantics.charts.ui.ChartPasteHandler">\r                     <this />\r               </type>\r                <type uri="http://www.simantics.org/Charts-0.0/ChartGroup"\r                     class="org.simantics.charts.ui.ChartGroupPasteHandler">\r                        <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/Images/ChartItemImage"\r                     class="org.simantics.charts.ui.ChartItemImageRule"\r                     constructor="get" />\r           <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemLabelRule"\r                        class="org.simantics.charts.ui.ChartItemLabelRule" />\r          <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemNameModifierRule"\r                 class="org.simantics.charts.ui.ChartItemNameModifierRule">\r                     <graph />\r              </resource>\r            <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartSorterRule"\r                   class="org.simantics.charts.ui.ChartSorterRule" />\r             <resource\r                      uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemLabelDecorationRule"\r                      class="org.simantics.charts.ui.ChartItemLabelDecorationRule" />\r        </target>\r\r</adapters>
\ No newline at end of file
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
+               <type uri="http://www.simantics.org/Charts-0.0/Chart/Item" class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+                       <bundle />
+                       <string>icons/tag_blue.png</string>
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/NewChart"
+                       class="org.simantics.charts.ui.NewChart" />
+               <resource uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/NewChartGroup"
+                       class="org.simantics.charts.ui.NewChartGroup" />
+       </target>
+       
+       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartGroupDropAction"
+                       class="org.simantics.charts.ui.ChartGroupDropActionFactory" />
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartDropAction"
+                       class="org.simantics.charts.ui.ChartDropActionFactory" />
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartActionContext/Actions/ChartItemDropAction"
+                       class="org.simantics.charts.ui.ChartItemDropActionFactory" />
+           <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/SubscriptionDropAction"
+            class="org.simantics.charts.ui.SubscriptionDropActionFactory" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.PasteHandler">
+               <type uri="http://www.simantics.org/Charts-0.0/TimeSeriesChart"
+                       class="org.simantics.charts.ui.ChartPasteHandler">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Charts-0.0/ChartGroup"
+                       class="org.simantics.charts.ui.ChartGroupPasteHandler">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/Images/ChartItemImage"
+                       class="org.simantics.charts.ui.ChartItemImageRule"
+                       constructor="get" />
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemLabelRule"
+                       class="org.simantics.charts.ui.ChartItemLabelRule" />
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemNameModifierRule"
+                       class="org.simantics.charts.ui.ChartItemNameModifierRule">
+                       <graph />
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartSorterRule"
+                       class="org.simantics.charts.ui.ChartSorterRule" />
+               <resource
+                       uri="http://www.simantics.org/Charts-0.0/ChartBrowseContext/ChartItemLabelDecorationRule"
+                       class="org.simantics.charts.ui.ChartItemLabelDecorationRule" />
+       </target>
+
+</adapters>
\ No newline at end of file
index 2c658d42895f5064c3394f1338df3aa786cd7801..ea54193900539d31d4e5959d4fd53b18e98d790d 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
@@ -11,5 +12,9 @@
  -->
 
 <adapters>
-\r      <target interface="org.simantics.datatypes.adt.Color">\r         <adapter uri="http://www.simantics.org/Datatypes-0.0/RGB/Integer"\r                      contextClass="org.simantics.db.RelationContext" adapterClass="org.simantics.datatypes.adapter.RGBIntegerRelatedAdapter" />\r     </target>\r
+
+       <target interface="org.simantics.datatypes.adt.Color">
+               <adapter uri="http://www.simantics.org/Datatypes-0.0/RGB/Integer"
+                       contextClass="org.simantics.db.RelationContext" adapterClass="org.simantics.datatypes.adapter.RGBIntegerRelatedAdapter" />
+       </target>
 </adapters>
\ No newline at end of file
index 034a8ea329bab841f5e23e0b1e33cc8299e6ab16..13fbd87b2b7c5d03ca082e011d17e968bd470721 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
     http://www.eclipse.org/legal/epl-v10.html
    
     Contributors:
-        VTT Technical Research Centre of Finland - initial API and implementation\r        Semantum Oy - issue #4190
+        VTT Technical Research Centre of Finland - initial API and implementation
+        Semantum Oy - issue #4190
  -->
 
-<adapters>\r\r   <target interface="java.lang.Double">\r          <adapter uri="http://www.simantics.org/Layer0-0.0/Double"\r                      contextClass="org.simantics.db.RelationContext" adapterClass="org.simantics.db.layer0.adapter.LiteralDoubleAdapter" />\r </target>\r\r     <target interface="java.lang.String">\r          <adapter uri="http://www.simantics.org/Layer0-0.0/String"\r                  contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.db.layer0.adapter.LiteralStringAdapter"/>\r          <adapter uri="http://www.simantics.org/Layer0-0.0/RVI"\r                 adapterClass="org.simantics.db.layer0.adapter.RVIStringAdapter"/>\r      </target>\r\r     <target interface="java.lang.String">\r          <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                  contextClass="org.simantics.db.layer0.variable.Variable"\r                   adapterClass="org.simantics.db.layer0.adapter.LiteralVariableStringAdapter"/>\r  </target>\r\r     <target interface="org.simantics.db.layer0.variable.VariableBuilder">\r          <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.db.layer0.variable.StandardVariableBuilder" >\r             </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.variable.Variable">\r         <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                      adapterClass="org.simantics.db.layer0.variable.URIResourceVariableAdapter" />\r          <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                      contextClass="org.simantics.db.layer0.variable.Variable"\r                       adapterClass="org.simantics.db.layer0.variable.StandardGraphChildVariableAdapter" />\r           <adapter uri="http://www.simantics.org/Layer0-0.0/Value"\r                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />\r            <adapter uri="http://www.simantics.org/Layer0-0.0/ExternalValue"\r                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />\r            <adapter uri="http://www.simantics.org/Layer0-0.0/Property"\r                    contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />\r            <adapter uri="http://www.simantics.org/Layer0X-0.0/ResourcePropertyRelation"\r                   contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.db.layer0.variable.ResourcePropertyVariableAdapter" />\r     </target>\r\r     <target interface="org.simantics.db.layer0.variable.VariableModifier">\r         <adapter uri="http://www.simantics.org/Layer0-0.0/Literal"\r                 contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.db.layer0.variable.StandardVariableModifierAdapter"/>\r      </target>\r\r     <!--  <target interface="org.simantics.db.layer0.variable.PropertyVariableFactory">\r            <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.db.layer0.variable.StandardPropertyVariableFactory" >\r             </type>\r        </target> -->\r\r <target interface="org.simantics.db.layer0.variable.RVIResolver">\r              <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.db.layer0.variable.StandardRVIResolver" >\r         </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.variable.GraphPropertyFactory">\r             <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"\r                      contextClass="org.simantics.db.RelationContext"\r                        adapterClass="org.simantics.db.layer0.adapter.StandardGraphPropertyFactoryAdapter" />\r  </target>\r\r     <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">\r            <resource uri="http://www.simantics.org/Layer0X-0.0/EntitySubgraphExtent"\r                      class="org.simantics.db.layer0.adapter.impl.EntitySubgraphExtent" >\r            </resource>\r    </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.InstanceFactory">\r           <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <resource\r                      uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultInstanceFactory">\r                   <this />\r               </resource>\r    </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.PasteHandler">\r              <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <!--  <type\r                    uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type> -->\r            <type\r                  uri="http://www.simantics.org/Simulation-0.0/Model"\r                    class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Layer0-0.0/Library"\r                      class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r        </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.CopyHandler">\r               <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.DefaultCopyHandler">\r                       <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                       class="org.simantics.db.layer0.adapter.impl.SharedOntologyCopyHandler">\r                        <this />\r               </type>\r        </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.Instances">\r         <resource\r                      uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.EntityInstances">\r                  <this/>\r                </resource>\r    </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.StringModifier">\r            <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.StringModifierImpl">\r                       <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target\r                interface="org.simantics.db.layer0.adapter.StringIndexModifier">\r               <baseType\r                      uri="http://www.simantics.org/Layer0-0.0/Entity" />\r            <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.StringIndexModifierImpl">\r                  <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">\r             <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />\r          <type\r                  uri="http://www.simantics.org/Layer0-0.0/Entity"\r                       class="org.simantics.db.layer0.adapter.impl.EntityStringModifierFactory">\r                      <this />\r               </type>\r        </target>\r
+<adapters>
+
+       <target interface="java.lang.Double">
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Double"
+                       contextClass="org.simantics.db.RelationContext" adapterClass="org.simantics.db.layer0.adapter.LiteralDoubleAdapter" />
+       </target>
+
+       <target interface="java.lang.String">
+               <adapter uri="http://www.simantics.org/Layer0-0.0/String"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.db.layer0.adapter.LiteralStringAdapter"/>
+               <adapter uri="http://www.simantics.org/Layer0-0.0/RVI"
+                       adapterClass="org.simantics.db.layer0.adapter.RVIStringAdapter"/>
+       </target>
+
+       <target interface="java.lang.String">
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"
+                   contextClass="org.simantics.db.layer0.variable.Variable"
+                       adapterClass="org.simantics.db.layer0.adapter.LiteralVariableStringAdapter"/>
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.VariableBuilder">
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.variable.StandardVariableBuilder" >
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.Variable">
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       adapterClass="org.simantics.db.layer0.variable.URIResourceVariableAdapter" />
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       contextClass="org.simantics.db.layer0.variable.Variable"
+                       adapterClass="org.simantics.db.layer0.variable.StandardGraphChildVariableAdapter" />
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Value"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />
+               <adapter uri="http://www.simantics.org/Layer0-0.0/ExternalValue"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Property"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.db.layer0.variable.StandardModelledPropertyVariable" />
+               <adapter uri="http://www.simantics.org/Layer0X-0.0/ResourcePropertyRelation"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.db.layer0.variable.ResourcePropertyVariableAdapter" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.VariableModifier">
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Literal"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.db.layer0.variable.StandardVariableModifierAdapter"/>
+       </target>
+
+       <!--  <target interface="org.simantics.db.layer0.variable.PropertyVariableFactory">
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.variable.StandardPropertyVariableFactory" >
+               </type>
+       </target> -->
+
+       <target interface="org.simantics.db.layer0.variable.RVIResolver">
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.variable.StandardRVIResolver" >
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.GraphPropertyFactory">
+               <adapter uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.db.layer0.adapter.StandardGraphPropertyFactoryAdapter" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.SubgraphExtent">
+               <resource uri="http://www.simantics.org/Layer0X-0.0/EntitySubgraphExtent"
+                       class="org.simantics.db.layer0.adapter.impl.EntitySubgraphExtent" >
+               </resource>
+       </target>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.InstanceFactory">
+               <baseType
+                       uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <resource
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultInstanceFactory">
+                       <this />
+               </resource>
+       </target>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.PasteHandler">
+               <baseType
+                       uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <!--  <type
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
+                       <this />
+               </type> -->
+               <type
+                       uri="http://www.simantics.org/Simulation-0.0/Model"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/SharedOntology"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/Library"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
+                       <this />
+               </type>
+       </target>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.CopyHandler">
+               <baseType
+                       uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultCopyHandler">
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/SharedOntology"
+                       class="org.simantics.db.layer0.adapter.impl.SharedOntologyCopyHandler">
+                       <this />
+               </type>
+       </target>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.Instances">
+               <resource
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.EntityInstances">
+                       <this/>
+               </resource>
+       </target>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.StringModifier">
+               <baseType
+                       uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.StringModifierImpl">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target
+               interface="org.simantics.db.layer0.adapter.StringIndexModifier">
+               <baseType
+                       uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.StringIndexModifierImpl">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">
+               <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <type
+                       uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.db.layer0.adapter.impl.EntityStringModifierFactory">
+                       <this />
+               </type>
+       </target>
        <target interface="org.simantics.db.layer0.adapter.Valuations">
                <type uri="http://www.simantics.org/Layer0-0.0/Entity"
                        class="org.simantics.db.layer0.adapter.impl.DefaultValuations">
        </target>
 
        <target interface="org.simantics.db.layer0.adapter.GenericRelation">
-               <baseType uri="http://www.simantics.org/Layer0X-0.0/GenericRelation" />\r                <resource uri = "http://www.simantics.org/Layer0X-0.0/DependenciesRelation"
+               <baseType uri="http://www.simantics.org/Layer0X-0.0/GenericRelation" />
+               <resource uri = "http://www.simantics.org/Layer0X-0.0/DependenciesRelation"
                        class="org.simantics.db.layer0.genericrelation.DependenciesRelation">
                        <graph />
                        <this />
        </target>
 
        <target interface="org.simantics.db.layer0.adapter.GenericRelationIndex">
-               <baseType uri="http://www.simantics.org/Layer0X-0.0/GenericRelation" />\r                <resource uri = "http://www.simantics.org/Layer0X-0.0/DependenciesRelation"
+               <baseType uri="http://www.simantics.org/Layer0X-0.0/GenericRelation" />
+               <resource uri = "http://www.simantics.org/Layer0X-0.0/DependenciesRelation"
                        class="org.simantics.db.layer0.genericrelation.DependenciesRelation">
                        <graph />
                        <this />
                </resource>
-       </target>\r\r     <target interface="org.simantics.scl.runtime.function.Function">\r               <resource uri = "http://www.simantics.org/Layer0X-0.0/Dependencies"\r                    class="org.simantics.db.layer0.genericrelation.Dependencies">\r          </resource>\r            <resource uri = "http://www.simantics.org/Layer0X-0.0/DependencyResources"\r                     class="org.simantics.db.layer0.genericrelation.DependencyResources">\r           </resource>\r    </target>\r\r     <target interface="org.simantics.db.layer0.adapter.Remover">\r           <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />\r          <type uri="http://www.simantics.org/Layer0-0.0/Entity" class="org.simantics.db.layer0.adapter.impl.EntityRemover">\r                     <this />\r               </type>\r                <type uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                 class="org.simantics.db.layer0.adapter.SharedOntologyRemover">\r                 <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.Template">\r          <baseType uri="http://www.simantics.org/Layer0-0.0/Template" />\r\r               <type uri="http://www.simantics.org/Layer0-0.0/Template" class="org.simantics.db.layer0.adapter.impl.GraphTemplate"\r                    constructor="create">\r                  <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r             <baseType uri="http://www.simantics.org/Action-0.0/Action" />\r  </target>\r\r     <target interface="org.simantics.db.layer0.migration.MigrationStep">\r           <type uri = "http://www.simantics.org/Layer0-0.0/MigrationSequence"\r                    class="org.simantics.db.layer0.migration.MigrationSequence">\r                   <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.migration.MigrationStep">\r           <type uri = "http://www.simantics.org/Layer0-0.0/NamespaceMigrationStep"\r                       class="org.simantics.db.layer0.migration.NamespaceMigrationStep">\r                      <graph />\r                      <this />\r               </type>\r                <type uri = "http://www.simantics.org/Layer0-0.0/OrderedSetToListMigrationStep"\r                        class="org.simantics.db.layer0.migration.OrderedSetToListMigrationStep">\r                       <graph />\r                      <this />\r               </type>         \r       </target>\r\r     <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">\r         <resource\r                      uri="http://www.simantics.org/Layer0-0.0/SharedOntology"\r                       class="org.simantics.db.layer0.adapter.impl.SharedOntologyImportAdvisorFactory">\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Simulation-0.0/Model"\r                    class="org.simantics.db.layer0.adapter.impl.ModelImportAdvisorFactory">\r                </resource>\r    </target>\r      
+       </target>
+
+       <target interface="org.simantics.scl.runtime.function.Function">
+               <resource uri = "http://www.simantics.org/Layer0X-0.0/Dependencies"
+                       class="org.simantics.db.layer0.genericrelation.Dependencies">
+               </resource>
+               <resource uri = "http://www.simantics.org/Layer0X-0.0/DependencyResources"
+                       class="org.simantics.db.layer0.genericrelation.DependencyResources">
+               </resource>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.Remover">
+               <baseType uri="http://www.simantics.org/Layer0-0.0/Entity" />
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity" class="org.simantics.db.layer0.adapter.impl.EntityRemover">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Layer0-0.0/SharedOntology"
+                       class="org.simantics.db.layer0.adapter.SharedOntologyRemover">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.Template">
+               <baseType uri="http://www.simantics.org/Layer0-0.0/Template" />
+
+               <type uri="http://www.simantics.org/Layer0-0.0/Template" class="org.simantics.db.layer0.adapter.impl.GraphTemplate"
+                       constructor="create">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+               <baseType uri="http://www.simantics.org/Action-0.0/Action" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.migration.MigrationStep">
+               <type uri = "http://www.simantics.org/Layer0-0.0/MigrationSequence"
+                       class="org.simantics.db.layer0.migration.MigrationSequence">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.migration.MigrationStep">
+               <type uri = "http://www.simantics.org/Layer0-0.0/NamespaceMigrationStep"
+                       class="org.simantics.db.layer0.migration.NamespaceMigrationStep">
+                       <graph />
+                       <this />
+               </type>
+               <type uri = "http://www.simantics.org/Layer0-0.0/OrderedSetToListMigrationStep"
+                       class="org.simantics.db.layer0.migration.OrderedSetToListMigrationStep">
+                       <graph />
+                       <this />
+               </type>         
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">
+               <resource
+                       uri="http://www.simantics.org/Layer0-0.0/SharedOntology"
+                       class="org.simantics.db.layer0.adapter.impl.SharedOntologyImportAdvisorFactory">
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Simulation-0.0/Model"
+                       class="org.simantics.db.layer0.adapter.impl.ModelImportAdvisorFactory">
+               </resource>
+       </target>
+       
 </adapters>
index 2b294a889b0180c5d2b3018270b08cc6b40cf4a0..f2687a89c54aa55b62e6c83e56eb3fa121966886 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
index cbe89093ae42c27db81aa0c3053b1a78aa6fba3d..8e3a7140033b51f80d852147c40dc1795b67588c 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
         VTT Technical Research Centre of Finland - initial API and implementation
  -->
 
-<adapters>\r\r   <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/DirectProfileRule"\r            class="org.simantics.diagram.profile.view.RuntimeDirectProfileEntries"/>\r        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryChildrenRule"\r            class="org.simantics.diagram.profile.view.ProfileEntryChildren"/>\r    </target>\r\r    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r        <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />\r        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryImageRule"\r            class="org.simantics.diagram.profile.view.ResourcePairImageRule"/>\r        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryLabelRule"\r            class="org.simantics.diagram.profile.view.ResourcePairLabelRule"/>\r        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryCheckRule"\r            class="org.simantics.diagram.profile.view.ProfileCheckContributor"/>\r    </target>\r\r     <target interface="org.simantics.browsing.ui.swt.ModelledAction">\r      <!--\r           <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/AddEntriesAction"\r                       class="org.simantics.diagram.profile.view.AddEntriesAction">\r                   <this />\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/RemoveEntriesAction"\r                    class="org.simantics.diagram.profile.view.RemoveEntriesAction">\r                        <this />\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateProfileAction"\r                    class="org.simantics.diagram.profile.view.CreateProfileAction">\r                        <this />\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateStyleAction"\r                      class="org.simantics.diagram.profile.view.CreateStyleAction">\r                  <this />\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateGroupAction"\r                      class="org.simantics.diagram.profile.view.CreateGroupAction">\r                  <this />\r               </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateEntryAction"\r                      class="org.simantics.diagram.profile.view.CreateEntryAction">\r                  <this />\r               </resource>\r    -->\r    </target>\r\r     <target interface="org.simantics.browsing.ui.swt.widgets.impl.ReadFactory">\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/AvailableProfiles"\r                      class="org.simantics.diagram.profile.view.AvailableProfiles">\r          </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/SelectedProfile"\r                        class="org.simantics.diagram.profile.view.SelectedProfile">\r            </resource>\r    </target>\r\r     <target interface="org.eclipse.swt.events.ModifyListener">\r             <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ActiveProfileModifier"\r                  class="org.simantics.diagram.profile.view.ActiveProfileModifier">\r              </resource>\r    </target>\r\r     <target interface="org.eclipse.swt.widgets.Listener">\r          <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ProfileEntrySelectionListener"\r                  class="org.simantics.diagram.profile.view.ProfileEntrySelectionListener">\r              </resource>\r    </target>\r\r     <target\r                interface="org.simantics.browsing.ui.graph.impl.SessionContextInputSource">\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ActiveRuntimeDiagramInputSource"\r                        class="org.simantics.diagram.profile.view.ActiveRuntimeDiagramInputSource">\r            </resource>\r    </target>\r\r</adapters>
\ No newline at end of file
+<adapters>
+
+       <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/DirectProfileRule"
+            class="org.simantics.diagram.profile.view.RuntimeDirectProfileEntries"/>
+        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryChildrenRule"
+            class="org.simantics.diagram.profile.view.ProfileEntryChildren"/>
+    </target>
+
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <baseType uri="http://www.simantics.org/Viewpoint-0.0/VisualsRule" />
+        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryImageRule"
+            class="org.simantics.diagram.profile.view.ResourcePairImageRule"/>
+        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryLabelRule"
+            class="org.simantics.diagram.profile.view.ResourcePairLabelRule"/>
+        <resource uri="http://www.simantics.org/Diagram-0.0/ProfilesBrowseContext/EntryCheckRule"
+            class="org.simantics.diagram.profile.view.ProfileCheckContributor"/>
+    </target>
+
+       <target interface="org.simantics.browsing.ui.swt.ModelledAction">
+       <!--
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/AddEntriesAction"
+                       class="org.simantics.diagram.profile.view.AddEntriesAction">
+                       <this />
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/RemoveEntriesAction"
+                       class="org.simantics.diagram.profile.view.RemoveEntriesAction">
+                       <this />
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateProfileAction"
+                       class="org.simantics.diagram.profile.view.CreateProfileAction">
+                       <this />
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateStyleAction"
+                       class="org.simantics.diagram.profile.view.CreateStyleAction">
+                       <this />
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateGroupAction"
+                       class="org.simantics.diagram.profile.view.CreateGroupAction">
+                       <this />
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/CreateEntryAction"
+                       class="org.simantics.diagram.profile.view.CreateEntryAction">
+                       <this />
+               </resource>
+       -->
+       </target>
+
+       <target interface="org.simantics.browsing.ui.swt.widgets.impl.ReadFactory">
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/AvailableProfiles"
+                       class="org.simantics.diagram.profile.view.AvailableProfiles">
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/SelectedProfile"
+                       class="org.simantics.diagram.profile.view.SelectedProfile">
+               </resource>
+       </target>
+
+       <target interface="org.eclipse.swt.events.ModifyListener">
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ActiveProfileModifier"
+                       class="org.simantics.diagram.profile.view.ActiveProfileModifier">
+               </resource>
+       </target>
+
+       <target interface="org.eclipse.swt.widgets.Listener">
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ProfileEntrySelectionListener"
+                       class="org.simantics.diagram.profile.view.ProfileEntrySelectionListener">
+               </resource>
+       </target>
+
+       <target
+               interface="org.simantics.browsing.ui.graph.impl.SessionContextInputSource">
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/ProfilesView/ActiveRuntimeDiagramInputSource"
+                       class="org.simantics.diagram.profile.view.ActiveRuntimeDiagramInputSource">
+               </resource>
+       </target>
+
+</adapters>
\ No newline at end of file
index f4baea1c4a7acfc027e9714d4780a15f826f6511..bec5591c7a2afe77ca7713e83a06391791e3058d 100644 (file)
@@ -1 +1,216 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2007, 2010 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 -->\r\r<adapters>\r\r    <target interface="org.simantics.scenegraph.profile.ProfileEntry">\r             <type\r                  uri="http://www.simantics.org/Diagram-0.0/GroupStyleProfileEntry"\r                      class="org.simantics.diagram.adapter.GroupStyleProfileEntry">\r                  <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.scenegraph.profile.Style">\r            <type\r                  uri="http://www.simantics.org/Diagram-0.0/ConstantStyle"\r                       class="org.simantics.diagram.adapter.ConstantStyle">\r                   <graph />\r                      <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Diagram-0.0/ExpressionStyle"\r                     class="org.simantics.diagram.adapter.ExpressionStyle">\r                 <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.scenegraph.profile.Group">\r            <type\r                  uri="http://www.simantics.org/Diagram-0.0/TypeGroup"\r                   class="org.simantics.diagram.adapter.TypeGroup">\r                       <graph />\r                      <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Diagram-0.0/MappedTypeGroup"\r                     class="org.simantics.diagram.adapter.MappedTypeGroup">\r                 <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.g2d.diagram.DiagramClass">\r            <baseType uri="http://www.simantics.org/Diagram-0.0/Composite" />\r              <adapter uri="http://www.simantics.org/Diagram-0.0/Composite"\r                  adapterClass="org.simantics.diagram.adapter.DiagramClassAdapter" />\r    </target>\r\r     <target interface="org.simantics.diagram.adapter.ElementFactory">\r              <resource uri="http://www.simantics.org/Diagram-0.0/Flag"\r                      class="org.simantics.diagram.adapter.FlagClassFactory" />\r              <resource uri="http://www.simantics.org/Diagram-0.0/Composite"\r                 class="org.simantics.diagram.adapter.CompositeClassFactory" />\r         <resource uri="http://www.simantics.org/Diagram-0.0/DefinedElement"\r                    class="org.simantics.diagram.adapter.DefinedElementFactory" />\r         <resource uri="http://www.simantics.org/Diagram-0.0/SVGElement"\r                        class="org.simantics.diagram.adapter.SVGElementClassFactory" />\r                <resource uri="http://www.simantics.org/Diagram-0.0/RasterElement"\r                     class="org.simantics.diagram.adapter.RasterElementClassFactory" />\r             <resource uri="http://www.simantics.org/Diagram-0.0/AnimatedSVGElement"\r                        class="org.simantics.diagram.adapter.AnimatedSVGElementClassFactory" />\r                <resource uri="http://www.simantics.org/Diagram-0.0/BranchPoint"\r                       class="org.simantics.diagram.adapter.BranchPointClassFactory" />\r               <resource uri="http://www.simantics.org/Diagram-0.0/Connection"\r                        class="org.simantics.diagram.adapter.DefaultConnectionEdgeClassFactory" />\r             <resource uri="http://www.simantics.org/Diagram-0.0/TextElement"\r                       class="org.simantics.diagram.adapter.TextElementClassFactory" />\r\r              <type uri="http://www.simantics.org/Diagram-0.0/Connection"\r                    class="org.simantics.diagram.adapter.DefaultConnectionClassFactory" />\r\r                <resource uri="http://www.simantics.org/Diagram-0.0/RouteGraphConnection"\r                      class="org.simantics.diagram.adapter.RouteGraphConnectionClassFactory">\r                        <graph />\r              </resource>\r            <type uri="http://www.simantics.org/Diagram-0.0/RouteGraphConnection"\r                  class="org.simantics.diagram.adapter.RouteGraphConnectionClassFactory">\r                        <graph/>\r               </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Flag"\r                  class="org.simantics.diagram.adapter.FlagClassFactory" />\r              <type uri="http://www.simantics.org/Diagram-0.0/Composite"\r                     class="org.simantics.diagram.adapter.CompositeClassFactory" />\r         <type uri="http://www.simantics.org/Diagram-0.0/RasterElement"\r                 class="org.simantics.diagram.adapter.RasterElementClassFactory" />\r             <type uri="http://www.simantics.org/Diagram-0.0/SVGElement"\r                    class="org.simantics.diagram.adapter.SVGElementClassFactory" />\r                <type uri="http://www.simantics.org/Diagram-0.0/AnimatedSVGElement"\r                    class="org.simantics.diagram.adapter.AnimatedSVGElementClassFactory" />\r                <type uri="http://www.simantics.org/Diagram-0.0/DefinedElement"\r                        class="org.simantics.diagram.adapter.DefinedElementFactory" />\r         <type uri="http://www.simantics.org/Diagram-0.0/BranchPoint"\r                   class="org.simantics.diagram.adapter.BranchPointClassFactory" />\r               <type uri="http://www.simantics.org/Diagram-0.0/TextElement"\r                   class="org.simantics.diagram.adapter.TextElementClassFactory" />\r       </target>\r\r     <target interface="org.simantics.diagram.synchronization.graph.ElementWriter">\r         <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r                 class="org.simantics.diagram.adapter.DummyElementWriter" />\r            <resource uri="http://www.simantics.org/Diagram-0.0/Flag"\r                      class="org.simantics.diagram.adapter.FlagWriter" />\r            <resource uri="http://www.simantics.org/Diagram-0.0/TextElement"\r                       class="org.simantics.diagram.adapter.TextElementWriter" />\r     </target>\r\r     <target interface="org.simantics.diagram.symbolcontribution.SymbolContribution">\r               <type uri="http://www.simantics.org/Diagram-0.0/BasicSymbolContribution"\r                       class="org.simantics.diagram.symbolcontribution.BasicSymbolContribution">\r                      <this />\r               </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/IndexRootSymbolContribution"\r                   class="org.simantics.diagram.symbolcontribution.IndexRootSymbolContribution">\r          </type>\r        </target>\r\r     <target interface="org.simantics.diagram.symbolcontribution.SymbolContributionFilter">\r         <resource uri="http://www.simantics.org/Diagram-0.0/DenyFilter"\r                        class="org.simantics.diagram.symbolcontribution.DenyFilter"\r                    constructor="get">\r             </resource>\r            <type uri="http://www.simantics.org/Diagram-0.0/SCLFilter"\r                     class="org.simantics.diagram.symbolcontribution.SCLFilter">\r                    <this />\r               </type>\r        </target>\r\r\r    <target interface="org.simantics.g2d.routing.IRouter2">\r                <resource uri="http://www.simantics.org/Diagram-0.0/LinearRouting"\r                     class="org.simantics.g2d.routing.TrivialRouter2" />\r            <resource uri="http://www.simantics.org/Diagram-0.0/RightAngledRouting"\r                        class="org.simantics.g2d.routing.algorithm2.Router4" />\r        </target>\r\r     <target interface="org.simantics.ui.icons.ImageDescriptorProvider">\r            <type uri="http://www.simantics.org/Diagram-0.0/Diagram"\r                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r                  <bundle />\r                     <string>icons/diagram.png</string>\r             </type>\r                <resource uri="http://www.simantics.org/Diagram-0.0/Diagram"\r                   class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r                  <bundle />\r                     <string>icons/diagram.png</string>\r             </resource>\r    </target>\r\r     <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">\r             <type uri="http://www.simantics.org/Diagram-0.0/Flag" class="org.simantics.diagram.flag.FlagStringModifierFactory">\r                    <graph />\r                      <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.diagram.flag.FlagLabelingScheme">\r             <baseType uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme" />\r             <resource\r                      uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme/Alphabetical"\r                     class="org.simantics.diagram.flag.PermutativeFlagLabelingScheme">\r                      <string>A</string>\r                     <string>A</string>\r                     <string>Z</string>\r             </resource>\r            <resource\r                      uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme/Numeric"\r                  class="org.simantics.diagram.flag.PermutativeFlagLabelingScheme">\r                      <string>1</string>\r                     <string>1</string>\r                     <string>9</string>\r             </resource>\r    </target>\r\r     <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">\r          <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/AbstractText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                     <this/>\r                        <bundle />\r                     <string>org.simantics.diagram.elements.TextNode</string>\r               </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/SVGImage" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                 <this/>\r                        <bundle />\r                     <string>org.simantics.scenegraph.g2d.nodes.SVGNode</string>\r            </type>\r                <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                        <this/>\r                        <bundle />\r                     <string>org.simantics.scenegraph.g2d.nodes.spatial.RTreeNode</string>\r          </type>\r        </target>\r      <target\r                interface="org.simantics.db.layer0.adapter.PasteHandler">\r              <type\r                  uri="http://www.simantics.org/Diagram-0.0/Scenegraph/Composite"\r                        class="org.simantics.diagram.adapter.ScenegraphCompositePasteHandler">\r                 <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.diagram.synchronization.graph.layer.IGraphLayerUtil">\r         <resource uri="http://www.simantics.org/Diagram-0.0/Layer"\r                     class="org.simantics.diagram.synchronization.graph.layer.GraphLayerUtil">\r                      <this />\r               </resource>\r    </target>\r</adapters>\r
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 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.scenegraph.profile.ProfileEntry">
+               <type
+                       uri="http://www.simantics.org/Diagram-0.0/GroupStyleProfileEntry"
+                       class="org.simantics.diagram.adapter.GroupStyleProfileEntry">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.scenegraph.profile.Style">
+               <type
+                       uri="http://www.simantics.org/Diagram-0.0/ConstantStyle"
+                       class="org.simantics.diagram.adapter.ConstantStyle">
+                       <graph />
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Diagram-0.0/ExpressionStyle"
+                       class="org.simantics.diagram.adapter.ExpressionStyle">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.scenegraph.profile.Group">
+               <type
+                       uri="http://www.simantics.org/Diagram-0.0/TypeGroup"
+                       class="org.simantics.diagram.adapter.TypeGroup">
+                       <graph />
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Diagram-0.0/MappedTypeGroup"
+                       class="org.simantics.diagram.adapter.MappedTypeGroup">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.g2d.diagram.DiagramClass">
+               <baseType uri="http://www.simantics.org/Diagram-0.0/Composite" />
+               <adapter uri="http://www.simantics.org/Diagram-0.0/Composite"
+                       adapterClass="org.simantics.diagram.adapter.DiagramClassAdapter" />
+       </target>
+
+       <target interface="org.simantics.diagram.adapter.ElementFactory">
+               <resource uri="http://www.simantics.org/Diagram-0.0/Flag"
+                       class="org.simantics.diagram.adapter.FlagClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/Composite"
+                       class="org.simantics.diagram.adapter.CompositeClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/DefinedElement"
+                       class="org.simantics.diagram.adapter.DefinedElementFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/SVGElement"
+                       class="org.simantics.diagram.adapter.SVGElementClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/RasterElement"
+                       class="org.simantics.diagram.adapter.RasterElementClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/AnimatedSVGElement"
+                       class="org.simantics.diagram.adapter.AnimatedSVGElementClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/BranchPoint"
+                       class="org.simantics.diagram.adapter.BranchPointClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/Connection"
+                       class="org.simantics.diagram.adapter.DefaultConnectionEdgeClassFactory" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/TextElement"
+                       class="org.simantics.diagram.adapter.TextElementClassFactory" />
+
+               <type uri="http://www.simantics.org/Diagram-0.0/Connection"
+                       class="org.simantics.diagram.adapter.DefaultConnectionClassFactory" />
+
+               <resource uri="http://www.simantics.org/Diagram-0.0/RouteGraphConnection"
+                       class="org.simantics.diagram.adapter.RouteGraphConnectionClassFactory">
+                       <graph />
+               </resource>
+               <type uri="http://www.simantics.org/Diagram-0.0/RouteGraphConnection"
+                       class="org.simantics.diagram.adapter.RouteGraphConnectionClassFactory">
+                       <graph/>
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Flag"
+                       class="org.simantics.diagram.adapter.FlagClassFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/Composite"
+                       class="org.simantics.diagram.adapter.CompositeClassFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/RasterElement"
+                       class="org.simantics.diagram.adapter.RasterElementClassFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/SVGElement"
+                       class="org.simantics.diagram.adapter.SVGElementClassFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/AnimatedSVGElement"
+                       class="org.simantics.diagram.adapter.AnimatedSVGElementClassFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/DefinedElement"
+                       class="org.simantics.diagram.adapter.DefinedElementFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/BranchPoint"
+                       class="org.simantics.diagram.adapter.BranchPointClassFactory" />
+               <type uri="http://www.simantics.org/Diagram-0.0/TextElement"
+                       class="org.simantics.diagram.adapter.TextElementClassFactory" />
+       </target>
+
+       <target interface="org.simantics.diagram.synchronization.graph.ElementWriter">
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.diagram.adapter.DummyElementWriter" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/Flag"
+                       class="org.simantics.diagram.adapter.FlagWriter" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/TextElement"
+                       class="org.simantics.diagram.adapter.TextElementWriter" />
+       </target>
+
+       <target interface="org.simantics.diagram.symbolcontribution.SymbolContribution">
+               <type uri="http://www.simantics.org/Diagram-0.0/BasicSymbolContribution"
+                       class="org.simantics.diagram.symbolcontribution.BasicSymbolContribution">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/IndexRootSymbolContribution"
+                       class="org.simantics.diagram.symbolcontribution.IndexRootSymbolContribution">
+               </type>
+       </target>
+
+       <target interface="org.simantics.diagram.symbolcontribution.SymbolContributionFilter">
+               <resource uri="http://www.simantics.org/Diagram-0.0/DenyFilter"
+                       class="org.simantics.diagram.symbolcontribution.DenyFilter"
+                       constructor="get">
+               </resource>
+               <type uri="http://www.simantics.org/Diagram-0.0/SCLFilter"
+                       class="org.simantics.diagram.symbolcontribution.SCLFilter">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.g2d.routing.IRouter2">
+               <resource uri="http://www.simantics.org/Diagram-0.0/LinearRouting"
+                       class="org.simantics.g2d.routing.TrivialRouter2" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/RightAngledRouting"
+                       class="org.simantics.g2d.routing.algorithm2.Router4" />
+       </target>
+
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
+               <type uri="http://www.simantics.org/Diagram-0.0/Diagram"
+                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+                       <bundle />
+                       <string>icons/diagram.png</string>
+               </type>
+               <resource uri="http://www.simantics.org/Diagram-0.0/Diagram"
+                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+                       <bundle />
+                       <string>icons/diagram.png</string>
+               </resource>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.StringModifierFactory">
+               <type uri="http://www.simantics.org/Diagram-0.0/Flag" class="org.simantics.diagram.flag.FlagStringModifierFactory">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.diagram.flag.FlagLabelingScheme">
+               <baseType uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme" />
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme/Alphabetical"
+                       class="org.simantics.diagram.flag.PermutativeFlagLabelingScheme">
+                       <string>A</string>
+                       <string>A</string>
+                       <string>Z</string>
+               </resource>
+               <resource
+                       uri="http://www.simantics.org/Diagram-0.0/FlagLabelingScheme/Numeric"
+                       class="org.simantics.diagram.flag.PermutativeFlagLabelingScheme">
+                       <string>1</string>
+                       <string>1</string>
+                       <string>9</string>
+               </resource>
+       </target>
+
+       <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">
+               <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/AbstractText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.diagram.elements.TextNode</string>
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/SVGImage" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.scenegraph.g2d.nodes.SVGNode</string>
+               </type>
+               <type uri="http://www.simantics.org/Diagram-0.0/Scenegraph/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.scenegraph.g2d.nodes.spatial.RTreeNode</string>
+               </type>
+       </target>
+       <target
+               interface="org.simantics.db.layer0.adapter.PasteHandler">
+               <type
+                       uri="http://www.simantics.org/Diagram-0.0/Scenegraph/Composite"
+                       class="org.simantics.diagram.adapter.ScenegraphCompositePasteHandler">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.diagram.synchronization.graph.layer.IGraphLayerUtil">
+               <resource uri="http://www.simantics.org/Diagram-0.0/Layer"
+                       class="org.simantics.diagram.synchronization.graph.layer.GraphLayerUtil">
+                       <this />
+               </resource>
+       </target>
+</adapters>
index 416baf276212688a83657d3149e4d8cc796a7346..99e8eae73cedf5f63d1ced7400d22d83ab1da1af 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
         VTT Technical Research Centre of Finland - initial API and implementation
  -->
 
-<adapters>\r\r   <target interface="org.simantics.selectionview.TabContribution">\r               <type uri="http://www.simantics.org/SWT-0.0/TypedVariableTabContribution"\r                      class="org.simantics.document.swt.core.selection.TypedVariableTabContribution">\r                        <graph/>\r                       <this/>\r                </type>\r        </target>\r
+<adapters>
+
+       <target interface="org.simantics.selectionview.TabContribution">
+               <type uri="http://www.simantics.org/SWT-0.0/TypedVariableTabContribution"
+                       class="org.simantics.document.swt.core.selection.TypedVariableTabContribution">
+                       <graph/>
+                       <this/>
+               </type>
+       </target>
 </adapters>
index 74bd124c25babdb04571a7133690315e42d46b5d..873ecb46d01b4a7d50b3fb06a08153f6da7eacc0 100644 (file)
@@ -1,2 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2007, 2012 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 -->
-<adapters>\r    <target interface="org.simantics.selectionview.TabContribution">\r               <type uri="http://www.simantics.org/DocumentUI-1.1/DocumentTabContributionType"\r                        class="org.simantics.document.ui.contribution.DocumentTabContribution">\r                        <graph/>\r                       <this/>\r                </type>\r                \r       </target>\r      \r       <!-- Search -->\r        <target interface="org.simantics.scl.runtime.function.Function">\r               <resource uri="http://www.simantics.org/DocumentUI-1.1/SearchFunction"\r                 class="org.simantics.document.ui.function.SearchFunction">\r             </resource>\r    </target>\r      \r       <target interface="org.simantics.browsing.ui.model.tests.Test">\r                <type\r            uri="http://www.simantics.org/DocumentUI-1.1/DocumentOldTest"\r            class="org.simantics.document.ui.test.DocumentOldTest">\r        </type>\r        <type\r            uri="http://www.simantics.org/DocumentUI-1.1/DocumentNotOldTest"\r            class="org.simantics.document.ui.test.DocumentNotOldTest">\r        </type>\r        \r   </target>   \r\r</adapters>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2012 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.selectionview.TabContribution">
+               <type uri="http://www.simantics.org/DocumentUI-1.1/DocumentTabContributionType"
+                       class="org.simantics.document.ui.contribution.DocumentTabContribution">
+                       <graph/>
+                       <this/>
+               </type>
+               
+       </target>
+       
+       <!-- Search -->
+       <target interface="org.simantics.scl.runtime.function.Function">
+               <resource uri="http://www.simantics.org/DocumentUI-1.1/SearchFunction"
+                       class="org.simantics.document.ui.function.SearchFunction">
+               </resource>
+       </target>
+       
+       <target interface="org.simantics.browsing.ui.model.tests.Test">
+               <type
+            uri="http://www.simantics.org/DocumentUI-1.1/DocumentOldTest"
+            class="org.simantics.document.ui.test.DocumentOldTest">
+        </type>
+        <type
+            uri="http://www.simantics.org/DocumentUI-1.1/DocumentNotOldTest"
+            class="org.simantics.document.ui.test.DocumentNotOldTest">
+        </type>
+        
+   </target>   
+
+</adapters>
index 4168f6d8a8482cf04777d3f4544fcc834e3d3fd1..35dacd66d1a025fffbda835bc7fc9cd9cea70a90 100644 (file)
@@ -1,2 +1,33 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--\r    Copyright (c) 2007, 2012 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 -->
-<adapters>\r\r   <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">\r          <type uri="http://www.simantics.org/Document-0.0/Scenegraph/Wiki" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                    <this/>\r                        <bundle />\r                     <string>org.simantics.document.node.Wiki</string>\r              </type>\r                <type uri="http://www.simantics.org/Document-0.0/Scenegraph/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                       <this/>\r                        <bundle />\r                     <string>org.simantics.document.node.Composite</string>\r         </type>\r                <type uri="http://www.simantics.org/Document-0.0/Scenegraph/Diagram" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                 <this/>\r                        <bundle />\r                     <string>org.simantics.document.node.Diagram</string>\r           </type>\r        </target>\r\r</adapters>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2012 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.scenegraph.loader.ScenegraphLoader">
+               <type uri="http://www.simantics.org/Document-0.0/Scenegraph/Wiki" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.document.node.Wiki</string>
+               </type>
+               <type uri="http://www.simantics.org/Document-0.0/Scenegraph/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.document.node.Composite</string>
+               </type>
+               <type uri="http://www.simantics.org/Document-0.0/Scenegraph/Diagram" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.document.node.Diagram</string>
+               </type>
+       </target>
+
+</adapters>
index d5ddf5e3b945c00029694e93e41d727d74ca150d..f34c85f1cf9fb7a13898887e8c20b72df9d66cae 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2011 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
 <adapters>
 
        <target interface="org.simantics.browsing.ui.model.children.ChildRule">
-               <resource\r                      uri="http://www.simantics.org/Event-0.0/View/EventBrowseContext/ProjectEventsRule"\r                     class="org.simantics.event.view.contribution.ProjectEventsRule"\r                        constructor="get" />\r   </target>
+               <resource
+                       uri="http://www.simantics.org/Event-0.0/View/EventBrowseContext/ProjectEventsRule"
+                       class="org.simantics.event.view.contribution.ProjectEventsRule"
+                       constructor="get" />
+       </target>
 
-       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
                        uri="http://www.simantics.org/Event-0.0/View/EventBrowseContext/EventLabelRule"
                        class="org.simantics.event.view.contribution.EventLabelRule"
                        constructor="get" />
 
-               <resource\r                      uri="http://www.simantics.org/Event-0.0/View/EventBrowseContext/EventImageRule"\r                        class="org.simantics.event.view.contribution.EventImageRule"\r                   constructor="get" />\r\r          <resource
+               <resource
+                       uri="http://www.simantics.org/Event-0.0/View/EventBrowseContext/EventImageRule"
+                       class="org.simantics.event.view.contribution.EventImageRule"
+                       constructor="get" />
+
+               <resource
                        uri="http://www.simantics.org/Event-0.0/View/EventBrowseContext/EventDecorationRule"
                        class="org.simantics.event.view.contribution.EventDecorationRule"
                        constructor="get" />
index 147fac7c299a38fd71821cd531bc37a78f51cf58..ee4fc114aa8c4366debb5ceb778fa8243ec54298 100644 (file)
@@ -8,7 +8,7 @@
                <type uri="http://www.simantics.org/Image2-0.0/Image"
                        class="org.simantics.image.ui.modelBrowser.ImageNode">
                        <this />
-               </type>         
+               </type>
        </target>
 
 </adapters>
index e392c35bd32a490d07d87f6fb47f02c9706ca78a..5cf4730d26f0f167eadfb11ea7b37c488446b448 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
  -->
 
 <adapters>
-\r      <target interface="org.simantics.issues.common.BatchIssueSource">\r              <type uri="http://www.simantics.org/Issue-0.0/Sources/DependencyTracker"\r                       class="org.simantics.issues.common.DependencyTrackerBatchIssueSource">\r                 <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.issues.common.IssueSource">\r           <type uri="http://www.simantics.org/Issue-0.0/Sources/DependencyTracker"\r                       class="org.simantics.issues.common.DependencyIssueSource2" >\r                   <graph />\r                      <this />\r               </type>\r        </target>\r\r</adapters>
\ No newline at end of file
+
+       <target interface="org.simantics.issues.common.BatchIssueSource">
+               <type uri="http://www.simantics.org/Issue-0.0/Sources/DependencyTracker"
+                       class="org.simantics.issues.common.DependencyTrackerBatchIssueSource">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.issues.common.IssueSource">
+               <type uri="http://www.simantics.org/Issue-0.0/Sources/DependencyTracker"
+                       class="org.simantics.issues.common.DependencyIssueSource2" >
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+</adapters>
\ No newline at end of file
index 8173016a9b0f2617ca1a912eff809a58de6df7dd..55eb87c84c84166252a850566cb56096f92d78de 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2011 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
 
 <adapters>
 
-       <target interface="org.simantics.browsing.ui.model.tests.Test">\r                <resource\r                      uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/UserIssueTest"\r                    class="org.simantics.issues.ui.UserIssueTest"/>\r        </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource\r                      uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueLabelDecorationRule"\r                 class="org.simantics.issues.ui.contribution.IssueLabelDecorationRule"\r                  constructor="get" />\r           <resource\r                      uri="http://www.simantics.org/IssueUI-0.0/BatchIssueSourceBrowseContext/IssueSourceCheckRule"\r                  class="org.simantics.issues.ui.contribution.IssueSourceCheckRule"/>\r            <resource\r                      uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueLabelRule"\r                   class="org.simantics.issues.ui.IssueLabelRule"/>\r               <type uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/SeverityFolderLabelRule"\r                    class="org.simantics.issues.ui.SeverityFolderLabelRule">\r                       <this />\r               </type>\r                <resource\r                      uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueImageRule"\r                   class="org.simantics.issues.ui.IssueImageRule"/>\r       </target>\r\r     <target interface="org.simantics.db.layer0.adapter.DropActionFactory">\r         <resource\r                      uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueContextDropAction"\r                   class="org.simantics.issues.ui.contribution.IssueContextDropAction" />\r </target>\r\r    <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r    \r            <type uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/SeverityFolderRule"\r                 class="org.simantics.issues.ui.SeverityFolderRule">\r                    <this />\r               </type>\r                <type uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/SeverityChildRule"\r                  class="org.simantics.issues.ui.SeverityChildRule">\r                     <this />\r               </type>\r                \r    </target>\r\r        <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r\r            <type uri="http://www.simantics.org/IssueUI-0.0/Actions/SetSeverityAction"\r                     class="org.simantics.issues.ui.SetSeverityAction">\r                     <this />\r               </type>\r\r               <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Resolve"\r                   class="org.simantics.issues.ui.handler.Resolve"/>\r              <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Unresolve"\r                 class="org.simantics.issues.ui.handler.Unresolve"/>\r            <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Hide"\r                      class="org.simantics.issues.ui.handler.Hide"/>\r         <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Unhide"\r                    class="org.simantics.issues.ui.handler.Unhide"/>\r               \r    </target>\r                 \r\r</adapters>
\ No newline at end of file
+       <target interface="org.simantics.browsing.ui.model.tests.Test">
+               <resource
+                       uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/UserIssueTest"
+                       class="org.simantics.issues.ui.UserIssueTest"/>
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
+                       uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueLabelDecorationRule"
+                       class="org.simantics.issues.ui.contribution.IssueLabelDecorationRule"
+                       constructor="get" />
+               <resource
+                       uri="http://www.simantics.org/IssueUI-0.0/BatchIssueSourceBrowseContext/IssueSourceCheckRule"
+                       class="org.simantics.issues.ui.contribution.IssueSourceCheckRule"/>
+               <resource
+                       uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueLabelRule"
+                       class="org.simantics.issues.ui.IssueLabelRule"/>
+               <type uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/SeverityFolderLabelRule"
+                       class="org.simantics.issues.ui.SeverityFolderLabelRule">
+                       <this />
+               </type>
+               <resource
+                       uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueImageRule"
+                       class="org.simantics.issues.ui.IssueImageRule"/>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.DropActionFactory">
+               <resource
+                       uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/IssueContextDropAction"
+                       class="org.simantics.issues.ui.contribution.IssueContextDropAction" />
+       </target>
+
+    <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+    
+               <type uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/SeverityFolderRule"
+                       class="org.simantics.issues.ui.SeverityFolderRule">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/IssueUI-0.0/IssueBrowseContext/SeverityChildRule"
+                       class="org.simantics.issues.ui.SeverityChildRule">
+                       <this />
+               </type>
+               
+    </target>
+
+       <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+
+               <type uri="http://www.simantics.org/IssueUI-0.0/Actions/SetSeverityAction"
+                       class="org.simantics.issues.ui.SetSeverityAction">
+                       <this />
+               </type>
+
+               <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Resolve"
+                       class="org.simantics.issues.ui.handler.Resolve"/>
+               <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Unresolve"
+                       class="org.simantics.issues.ui.handler.Unresolve"/>
+               <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Hide"
+                       class="org.simantics.issues.ui.handler.Hide"/>
+               <resource uri="http://www.simantics.org/IssueUI-0.0/Actions/Unhide"
+                       class="org.simantics.issues.ui.handler.Unhide"/>
+               
+    </target>
+                       
+
+</adapters>
\ No newline at end of file
index 1ce76183cbacd0a888e2e13dfeec7e3acf96916c..a53e3ad5944da5087d19f9e74dba1e26a4918fc2 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
                <baseType
                        uri="http://www.simantics.org/Layer0X-0.0/Trigger" />
        </target>
-\r<!--
+
+<!--
        <target
                interface="org.simantics.layer0.utils.expressions.IExpression">
                <baseType
                        <graph />
                        <this />
                </type>
-       </target>\r      -->
+       </target>
+       -->
 
        <target
                interface="java.lang.String">
index 5faa503d312ef50cac96c830bd392b1df7c7e903..f2687a89c54aa55b62e6c83e56eb3fa121966886 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
  -->
 
 <adapters>
-
-<!--
-<target interface="org.simantics.mapping.rules.IMappingRule">
-<baseType uri = "http://www.simantics.org/Mapping/2.0#MappingRule"/>
-
-<type uri = "http://www.simantics.org/Mapping/2.0#CompositeRule"
-      class = "org.simantics.mapping.rules.CompositeRule">
-    <related uri = "http://www.simantics.org/Mapping/2.0#HasMappingRule" 
-             to = "org.simantics.mapping.rules.IMappingRule"/>      
-</type>
-
-<type uri = "http://www.simantics.org/Mapping/2.0#SourceQuantificationRule"
-      class = "org.simantics.mapping.rules.SourceQuantificationRule">
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasBinaryPredicate" 
-            to = "org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate"/>             
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasMappingRule" 
-            to = "org.simantics.mapping.rules.IMappingRule"/>      
-</type>
-
-<type uri = "http://www.simantics.org/Mapping/2.0#TargetInstantiationRule"
-      class = "org.simantics.mapping.rules.TargetInstantiationRule">
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasBinaryPredicate" 
-            to = "org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate"/>             
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasMappingRule" 
-            to = "org.simantics.mapping.rules.IMappingRule"/>      
-</type>
-
-<type uri = "http://www.simantics.org/Mapping/2.0#TargetSupportRule"
-      class = "org.simantics.mapping.rules.TargetSupportRule">
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasBinaryPredicate" 
-            to = "org.simantics.layer0.utils.binaryPredicates.IBinaryPredicate"/>   
-</type>
-
-<type uri = "http://www.simantics.org/Mapping/2.0#TargetPredicateRule"
-      class = "org.simantics.mapping.rules.TargetPredicateRule">
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasPredicate"
-            to = "org.simantics.layer0.utils.predicates.IPredicate"/>
-</type>
-
-<type uri = "http://www.simantics.org/Mapping/2.0#TypeBasedMappingRule"
-      class = "org.simantics.mapping.rules.TypeBasedMappingRule">
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasMappingInfoRelation"/>   
-</type>
-
-</target>
-
-<target interface="org.simantics.layer0.utils.triggers.ITrigger">
-
-<type uri = "http://www.simantics.org/Mapping/2.0#Mapping"
-      class = "org.simantics.mapping.Mapping">
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasSource"/>   
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasTarget"/>
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasMappingRelation"/>
-    <single uri = "http://www.simantics.org/Mapping/2.0#HasMappingRule"
-            to = "org.simantics.mapping.rules.IMappingRule"/>
-</type>
-
-</target>
--->
 </adapters>
\ No newline at end of file
index 048fd3868b62f6371613808de3b42482a5f6817e..13dcfaa891bd467654490f9e0f44e504b60e6e8f 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2012 Association for Decentralized Information Management in
     Industry THTH ry.
     All rights reserved. This program and the accompanying materials
                        -->
                <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/AssignDrawingTemplate"
                        class="org.simantics.modeling.template2d.ui.actions.AssignDrawingTemplate" />
-\r              <!--\r           <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/FixLinkedList"\r                  class="org.simantics.modeling.template2d.ui.actions.FixLinkedList" />\r          -->\r    </target>
+
+               <!--
+               <resource uri="http://www.simantics.org/ModelingTemplate2d-0.0/Actions/FixLinkedList"
+                       class="org.simantics.modeling.template2d.ui.actions.FixLinkedList" />
+               -->
+       </target>
 
        <target
                interface="org.simantics.db.layer0.adapter.PasteHandler">
                        class="org.simantics.modeling.template2d.ui.adapters.SVGImagePasteHandler">
                        <this />
                </type>
-       </target>\r\r     <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r                <resource\r                      uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateBC/ScenegraphChildren"\r                     class="org.simantics.modeling.template2d.ui.adapters.ScenegraphChildrenRule" />\r        </target>\r\r     <target interface="org.simantics.browsing.ui.model.tests.Test">\r                <resource\r                      uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateAC/IsInModelTest"\r                  class="org.simantics.modeling.template2d.ui.adapters.IsInModelTest"\r                    constructor="get" />\r   </target>\r
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+               <resource
+                       uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateBC/ScenegraphChildren"
+                       class="org.simantics.modeling.template2d.ui.adapters.ScenegraphChildrenRule" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.tests.Test">
+               <resource
+                       uri="http://www.simantics.org/ModelingTemplate2d-0.0/DiagramTemplateAC/IsInModelTest"
+                       class="org.simantics.modeling.template2d.ui.adapters.IsInModelTest"
+                       constructor="get" />
+       </target>
 </adapters>
\ No newline at end of file
index 641e11408da0e31a51f51c4aa7ea8da7fcd58bec..274db7a09e54c6aa686f24f3e317fd4eadbe5156 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
  -->
 
 <adapters>
-\r      <target interface="org.simantics.ui.fonts.FontDescriptor">\r             <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedFont"\r                   contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedFontAdapter"/>\r </target>\r\r     <target interface="org.simantics.ui.fonts.FontDescriptor">\r             <adapter uri="http://www.simantics.org/Diagram-0.0/RealizedFont"\r                   contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.modeling.ui.diagram.monitor.RealizedFontAdapter"/>\r </target>\r\r     <target interface="org.simantics.common.color.Color">\r          <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedColor"\r                  contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedColorAdapter"/>\r        </target>\r\r     <target interface="org.simantics.common.color.Color">\r          <adapter uri="http://www.simantics.org/Diagram-0.0/RealizedColor"\r                  contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.modeling.ui.diagram.monitor.RealizedColorAdapter"/>\r        </target>\r\r     <target interface="org.simantics.common.format.Formatter">\r             <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedFormatter"\r              contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedFormatterAdapter"/>\r    </target>\r\r     <target interface="org.simantics.common.format.Formatter">\r             <adapter uri="http://www.simantics.org/Diagram-0.0/RealizedFormatter"\r              contextClass="org.simantics.db.RelationContext"\r                    adapterClass="org.simantics.modeling.ui.diagram.monitor.RealizedFormatterAdapter"/>\r    </target>\r\r     <target interface="java.lang.String">\r          <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedMonitorExpression"\r                  contextClass="org.simantics.db.RelationContext"\r                        adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedExpressionAdapter"/>\r           <adapter uri="http://www.simantics.org/Charts-0.0/ObtainedDouble"\r                      contextClass="org.simantics.db.RelationContext"\r                        adapterClass="org.simantics.modeling.ui.chart.property.ObtainedDoubleStringAdapter"/>\r  </target>\r\r     <target interface="java.lang.Double">\r          <adapter\r                       uri="http://www.simantics.org/Charts-0.0/ObtainedDouble"\r                       contextClass="org.simantics.db.RelationContext"\r                        adapterClass="org.simantics.modeling.ui.chart.property.ObtainedDoubleAdapter" />\r       </target>\r\r     <target interface="org.simantics.common.color.Color">\r          <type uri="http://www.simantics.org/Diagram-0.0/RGB"\r                   class="org.simantics.modeling.ui.diagram.monitor.RGB">\r                 <graph />\r                      <this />\r               </type>\r        </target>\r\r    <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ChildrenInActiveExperiment"\r                  class="org.simantics.modeling.ui.viewpoint.ChildrenInActiveExperiment">\r            <graph/>\r        </resource>\r        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/VariableChildRule"\r                  class="org.simantics.modeling.ui.viewpoint.VariableChildRule"/>\r        <type uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/VariablePropertyRule"\r                  class="org.simantics.modeling.ui.viewpoint.VariablePropertyRule">\r                  <graph />\r                  <this />\r        </type>\r    </target>\r\r    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/VariableLabelRule"\r                  class="org.simantics.modeling.ui.viewpoint.VariableLabelRule"/>\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ExperimentLabelRule"\r            class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentLabelRule"\r            constructor="get" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ComponentTypeLockStatusImageDecorationRule"\r            class="org.simantics.structural.ui.modelBrowser.contributions.ComponentTypeLockStatusImageDecorationRule"/>\r    </target>\r\r     <target interface="org.simantics.db.layer0.variable.Expression">\r               <type uri="http://www.simantics.org/Modeling-0.0/BasicExpression" class="org.simantics.modeling.ui.expression.BasicExpression">\r                        <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.variable.EquationExpression">\r               <type uri="http://www.simantics.org/Modeling-0.0/BasicExpression" class="org.simantics.modeling.ui.expression.BasicExpression">\r                        <this />\r               </type>\r        </target>\r\r     <target
+
+       <target interface="org.simantics.ui.fonts.FontDescriptor">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedFont"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedFontAdapter"/>
+       </target>
+
+       <target interface="org.simantics.ui.fonts.FontDescriptor">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/RealizedFont"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.RealizedFontAdapter"/>
+       </target>
+
+       <target interface="org.simantics.common.color.Color">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedColor"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedColorAdapter"/>
+       </target>
+
+       <target interface="org.simantics.common.color.Color">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/RealizedColor"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.RealizedColorAdapter"/>
+       </target>
+
+       <target interface="org.simantics.common.format.Formatter">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedFormatter"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedFormatterAdapter"/>
+       </target>
+
+       <target interface="org.simantics.common.format.Formatter">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/RealizedFormatter"
+                   contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.RealizedFormatterAdapter"/>
+       </target>
+
+       <target interface="java.lang.String">
+               <adapter uri="http://www.simantics.org/Diagram-0.0/ObtainedMonitorExpression"
+                       contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.diagram.monitor.ObtainedExpressionAdapter"/>
+               <adapter uri="http://www.simantics.org/Charts-0.0/ObtainedDouble"
+                       contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.chart.property.ObtainedDoubleStringAdapter"/>
+       </target>
+
+       <target interface="java.lang.Double">
+               <adapter
+                       uri="http://www.simantics.org/Charts-0.0/ObtainedDouble"
+                       contextClass="org.simantics.db.RelationContext"
+                       adapterClass="org.simantics.modeling.ui.chart.property.ObtainedDoubleAdapter" />
+       </target>
+
+       <target interface="org.simantics.common.color.Color">
+               <type uri="http://www.simantics.org/Diagram-0.0/RGB"
+                       class="org.simantics.modeling.ui.diagram.monitor.RGB">
+                       <graph />
+                       <this />
+               </type>
+       </target>
+
+    <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ChildrenInActiveExperiment"
+                  class="org.simantics.modeling.ui.viewpoint.ChildrenInActiveExperiment">
+            <graph/>
+        </resource>
+        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/VariableChildRule"
+                  class="org.simantics.modeling.ui.viewpoint.VariableChildRule"/>
+        <type uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/VariablePropertyRule"
+                  class="org.simantics.modeling.ui.viewpoint.VariablePropertyRule">
+                  <graph />
+                  <this />
+        </type>
+    </target>
+
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <resource uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/VariableLabelRule"
+                  class="org.simantics.modeling.ui.viewpoint.VariableLabelRule"/>
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ExperimentLabelRule"
+            class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentLabelRule"
+            constructor="get" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ComponentTypeLockStatusImageDecorationRule"
+            class="org.simantics.structural.ui.modelBrowser.contributions.ComponentTypeLockStatusImageDecorationRule"/>
+    </target>
+
+       <target interface="org.simantics.db.layer0.variable.Expression">
+               <type uri="http://www.simantics.org/Modeling-0.0/BasicExpression" class="org.simantics.modeling.ui.expression.BasicExpression">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.EquationExpression">
+               <type uri="http://www.simantics.org/Modeling-0.0/BasicExpression" class="org.simantics.modeling.ui.expression.BasicExpression">
+                       <this />
+               </type>
+       </target>
+
+       <target
                interface="org.simantics.scenegraph.adapters.ISceneGraphProvider">
                <type
                        uri="http://www.simantics.org/Structural-0.0/Component"
                        <graph />
                        <this />
                </type>
-\r        <!--
+
+        <!--
         <type
             uri="http://www.simantics.org/Charts-0.0/ChartGroup"
             class="org.simantics.modeling.ui.modelBrowser.model.ChartGroup">
             <graph />
             <this />
         </type>
-\r        <type
+
+        <type
             uri="http://www.simantics.org/Modeling-0.0/SubscriptionItem"
             class="org.simantics.modeling.ui.modelBrowser.model.SubscriptionItem">
             <graph />
             class="org.simantics.modeling.ui.modelBrowser.model.Subscription">
             <this />
         </type>
-        -->\r
+        -->
                <type
                        uri="http://www.simantics.org/Simulation-0.0/Experiment"
                        class="org.simantics.modeling.ui.modelBrowser.model.Experiment">
        </target>
 
        <target
-               interface="org.simantics.ui.icons.ImageDescriptorProvider">\r            <!--
+               interface="org.simantics.ui.icons.ImageDescriptorProvider">
+               <!--
                <resource
                        uri="http://www.simantics.org/Modeling-0.0/Operations/NewComponentType"
                        class="org.simantics.ui.icons.BundleImageDescriptorProvider">
                        <bundle />
                        <string>icons/box_add.png</string>
-               </resource>\r            -->
+               </resource>
+               -->
                <resource
                        uri="http://www.simantics.org/Modeling-0.0/Operations/NavigateToTarget"
                        class="org.simantics.ui.icons.BundleImageDescriptorProvider">
                        <bundle />
                        <string>icons/bullet_go.png</string>
-               </resource>\r        <resource\r            uri="http://www.simantics.org/Layer0X-0.0/DependenciesRelation"\r            class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r            <bundle />\r            <string>icons/table_relationship.png</string>\r        </resource>\r        <type\r            uri="http://www.simantics.org/Diagram-0.0/ProfileEntry"\r            class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r            <bundle />\r            <string>icons/bullet_yellow.png</string>\r        </type>\r        <type\r            uri="http://www.simantics.org/Diagram-0.0/Profile"\r            class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r            <bundle />\r            <string>icons/bullet_green.png</string>\r        </type>\r     </target>
+               </resource>
+        <resource
+            uri="http://www.simantics.org/Layer0X-0.0/DependenciesRelation"
+            class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+            <bundle />
+            <string>icons/table_relationship.png</string>
+        </resource>
+        <type
+            uri="http://www.simantics.org/Diagram-0.0/ProfileEntry"
+            class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+            <bundle />
+            <string>icons/bullet_yellow.png</string>
+        </type>
+        <type
+            uri="http://www.simantics.org/Diagram-0.0/Profile"
+            class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+            <bundle />
+            <string>icons/bullet_green.png</string>
+        </type>
+       </target>
 
        <target interface="org.simantics.diagram.adapter.ElementFactory">
                <resource uri="http://www.simantics.org/Diagram-0.0/Monitor"
-                       class="org.simantics.modeling.ui.diagram.monitor.MonitorClassFactory2" />\r              <resource uri="http://www.simantics.org/Diagram-0.0/Slider"\r                    class="org.simantics.modeling.ui.diagram.SliderClassFactory" />                 
+                       class="org.simantics.modeling.ui.diagram.monitor.MonitorClassFactory2" />
+               <resource uri="http://www.simantics.org/Diagram-0.0/Slider"
+                       class="org.simantics.modeling.ui.diagram.SliderClassFactory" />                 
                <resource uri="http://www.simantics.org/Diagram-0.0/SymbolMonitor"
                        class="org.simantics.modeling.ui.diagram.SymbolMonitorClassFactory" />
                <type uri="http://www.simantics.org/Diagram-0.0/Monitor"
-                       class="org.simantics.modeling.ui.diagram.monitor.MonitorClassFactory2" />\r              <type uri="http://www.simantics.org/Diagram-0.0/Slider"\r                        class="org.simantics.modeling.ui.diagram.SliderClassFactory" />                 
+                       class="org.simantics.modeling.ui.diagram.monitor.MonitorClassFactory2" />
+               <type uri="http://www.simantics.org/Diagram-0.0/Slider"
+                       class="org.simantics.modeling.ui.diagram.SliderClassFactory" />                 
                <type uri="http://www.simantics.org/Diagram-0.0/SymbolMonitor"
                        class="org.simantics.modeling.ui.diagram.SymbolMonitorClassFactory" />
        </target>
                        class="org.simantics.modeling.ui.diagram.monitor.MonitorWriter" />
        </target>
 
-       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">\r               <type uri="http://www.simantics.org/Charts-0.0/Chart"\r                  class="org.simantics.modeling.ui.modelBrowser2.model.ChartNode">\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Charts-0.0/ChartGroup"\r                     class="org.simantics.modeling.ui.modelBrowser2.model.ChartGroupNode">\r                  <this />\r               </type>\r                <type uri="http://www.simantics.org/Image-0.0/Image"\r                   class="org.simantics.modeling.ui.modelBrowser2.model.ImageNode">\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Layer0X-0.0/RelationView"\r                  class="org.simantics.modeling.ui.modelBrowser2.model.RelationViewNode">\r                        <this />\r               </type>\r                <type uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"\r                       class="org.simantics.modeling.ui.modelBrowser2.model.SpreadsheetNode">\r                 <this />\r               </type>\r                <type uri="http://www.simantics.org/Simulation-0.0/State"\r                      class="org.simantics.modeling.ui.modelBrowser2.model.StateNode">\r                       <this />\r               </type>\r                <type uri="http://www.simantics.org/Modeling-0.0/Subscription"\r                 class="org.simantics.modeling.ui.modelBrowser2.model.SubscriptionNode">\r                        <this />\r               </type>\r                <type uri="http://www.simantics.org/Modeling-0.0/Subscription/Item"\r                    class="org.simantics.modeling.ui.modelBrowser2.model.SubscriptionItemNode">\r                    <this />\r               </type>\r                <type uri="http://www.simantics.org/Charts-0.0/Chart/Item"\r                     class="org.simantics.modeling.ui.modelBrowser2.model.TrendItemNode">\r                   <this />\r               </type>\r        </target>\r\r     <target interface="org.simantics.modeling.ui.modelBrowser2.contributions.RelationViewContributor">\r             <type uri="http://www.simantics.org/Modeling-0.0/DependenciesView"\r                     class="org.simantics.modeling.ui.modelBrowser2.contributions.DependenciesViewContributor">\r             </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.ActionFactory">\r             <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewComponentType"\r                     class="org.simantics.modeling.ui.actions.NewComponentTypeAction" />\r            <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewProceduralComponentType"\r                   class="org.simantics.modeling.ui.actions.NewProceduralComponentType" />\r                <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewDocument"\r                  class="org.simantics.modeling.ui.actions.NewDocument" />\r               <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewLibrary"\r                   class="org.simantics.modeling.ui.actions.NewLibrary" />\r                <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewLocalLibrary"\r                      class="org.simantics.modeling.ui.actions.NewLocalLibrary" />\r           <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/MigrateComponentType"\r                 class="org.simantics.modeling.ui.actions.MigrateComponentType" />\r<!--          <resource -->\r<!--                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/MigrateMasterTypical" -->\r<!--                         class="org.simantics.modeling.ui.actions.MigrateMasterTypical" /> -->\r          <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/CompilePGraphs"\r                       class="org.simantics.modeling.ui.actions.CompilePGraphs" />\r            <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Delete"\r                       class="org.simantics.modeling.ui.actions.Delete" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewConnectionPoint"\r            class="org.simantics.modeling.ui.actions.NewConnectionPoint" />                      \r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewSymbol"\r            class="org.simantics.modeling.ui.actions.NewSymbol" />\r          <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/AssignSymbolGroup"\r                    class="org.simantics.modeling.ui.actions.AssignSymbolGroup" />\r         <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/ConfigureConnectionTypes"\r                     class="org.simantics.modeling.ui.actions.ConfigureConnectionTypes" />\r          <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/MergeFlags"\r                   class="org.simantics.modeling.ui.actions.MergeFlagsAction" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/RenameDiagramComponents"\r            class="org.simantics.modeling.ui.actions.RenameDiagramComponents" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewSCLQuery"\r            class="org.simantics.modeling.ui.actions.NewSCLQuery" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Copy"\r            class="org.simantics.modeling.ui.actions.Copy" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Cut"\r            class="org.simantics.modeling.ui.actions.Cut" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Paste"\r            class="org.simantics.modeling.ui.actions.Paste" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Lock"\r            class="org.simantics.modeling.ui.actions.LockAction" />\r        <resource\r            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Unlock"\r            class="org.simantics.modeling.ui.actions.UnlockAction" />            \r             <resource\r                      uri="http://www.simantics.org/Modeling-0.0/NewMasterTypicalDiagram"\r                    class="org.simantics.modeling.ui.typicals.NewMasterTypicalDiagram" />\r          <resource\r                      uri="http://www.simantics.org/Modeling-0.0/NewTypicalDiagramInstance"\r                  class="org.simantics.modeling.ui.typicals.NewTypicalDiagramInstance" />\r                <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/ImportImages"\r                 class="org.simantics.image.ui.ImportImagesActionFactory" />\r    </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionLabelRule"\r                        class="org.simantics.modeling.ui.modelBrowser2.label.SubscriptionLabelRule"\r                    constructor="get" />\r           <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionImageRule"\r                        class="org.simantics.modeling.ui.modelBrowser2.image.SubscriptionImageRule"\r                    constructor="get" />\r           <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionItemLabelRule"\r                    class="org.simantics.modeling.ui.modelBrowser2.label.SubscriptionItemLabelRule" />\r             <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionItemLabelDecorationRule"\r                  class="org.simantics.modeling.ui.modelBrowser2.label.SubscriptionItemLabelDecorationRule" />\r           <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ConnectionRelationLabelDecorationRule"\r                        class="org.simantics.modeling.ui.modelBrowser2.label.ConnectionRelationLabelDecorationRule" />\r         <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ConnectionRelationModifierRule"\r                       class="org.simantics.modeling.ui.modelBrowser2.label.ConnectionRelationModifierRule" />\r        </target>\r\r     <target interface="org.simantics.browsing.ui.model.tests.Test">\r                <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/IsComponent"\r                  class="org.simantics.modeling.ui.modelBrowser2.contributions.IsComponentTest"\r                  constructor="get" />\r           <resource\r                      uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/IsUserDefinedComponentTest"\r                   class="org.simantics.modeling.ui.modelBrowser2.contributions.IsUserDefinedComponentTest"\r                       constructor="get" />\r   </target>\r\r     <target interface="org.simantics.diagram.handler.CopyPasteStrategy">\r           <type uri="http://www.simantics.org/Diagram-0.0/Diagram"\r                       class="org.simantics.diagram.handler.DefaultCopyPasteStrategy" />\r      </target>\r\r     <target interface="org.simantics.diagram.synchronization.CopyAdvisor">\r         <type uri="http://www.simantics.org/Diagram-0.0/Diagram"\r                       class="org.simantics.modeling.mapping.DefaultMappedCopyAdvisor">\r               </type>\r        </target>\r\r     <target interface="org.simantics.ui.workbench.IEditorNamingService">\r           <type uri="http://www.simantics.org/Structural-0.0/ProceduralComponentTypeCode"\r                        class="org.simantics.modeling.ui.componentTypeEditor.ProceduralComponentTypeEditorNamingService">\r              </type>\r        </target>\r\r</adapters>
\ No newline at end of file
+       <target interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
+               <type uri="http://www.simantics.org/Charts-0.0/Chart"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.ChartNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Charts-0.0/ChartGroup"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.ChartGroupNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Image-0.0/Image"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.ImageNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Layer0X-0.0/RelationView"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.RelationViewNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.SpreadsheetNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Simulation-0.0/State"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.StateNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Modeling-0.0/Subscription"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.SubscriptionNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Modeling-0.0/Subscription/Item"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.SubscriptionItemNode">
+                       <this />
+               </type>
+               <type uri="http://www.simantics.org/Charts-0.0/Chart/Item"
+                       class="org.simantics.modeling.ui.modelBrowser2.model.TrendItemNode">
+                       <this />
+               </type>
+       </target>
+
+       <target interface="org.simantics.modeling.ui.modelBrowser2.contributions.RelationViewContributor">
+               <type uri="http://www.simantics.org/Modeling-0.0/DependenciesView"
+                       class="org.simantics.modeling.ui.modelBrowser2.contributions.DependenciesViewContributor">
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.ActionFactory">
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewComponentType"
+                       class="org.simantics.modeling.ui.actions.NewComponentTypeAction" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewProceduralComponentType"
+                       class="org.simantics.modeling.ui.actions.NewProceduralComponentType" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewDocument"
+                       class="org.simantics.modeling.ui.actions.NewDocument" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewLibrary"
+                       class="org.simantics.modeling.ui.actions.NewLibrary" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewLocalLibrary"
+                       class="org.simantics.modeling.ui.actions.NewLocalLibrary" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/MigrateComponentType"
+                       class="org.simantics.modeling.ui.actions.MigrateComponentType" />
+<!--           <resource -->
+<!--                   uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/MigrateMasterTypical" -->
+<!--                   class="org.simantics.modeling.ui.actions.MigrateMasterTypical" /> -->
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/CompilePGraphs"
+                       class="org.simantics.modeling.ui.actions.CompilePGraphs" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Delete"
+                       class="org.simantics.modeling.ui.actions.Delete" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewConnectionPoint"
+            class="org.simantics.modeling.ui.actions.NewConnectionPoint" />                    
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewSymbol"
+            class="org.simantics.modeling.ui.actions.NewSymbol" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/AssignSymbolGroup"
+                       class="org.simantics.modeling.ui.actions.AssignSymbolGroup" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/ConfigureConnectionTypes"
+                       class="org.simantics.modeling.ui.actions.ConfigureConnectionTypes" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/MergeFlags"
+                       class="org.simantics.modeling.ui.actions.MergeFlagsAction" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/RenameDiagramComponents"
+            class="org.simantics.modeling.ui.actions.RenameDiagramComponents" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/NewSCLQuery"
+            class="org.simantics.modeling.ui.actions.NewSCLQuery" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Copy"
+            class="org.simantics.modeling.ui.actions.Copy" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Cut"
+            class="org.simantics.modeling.ui.actions.Cut" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Paste"
+            class="org.simantics.modeling.ui.actions.Paste" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Lock"
+            class="org.simantics.modeling.ui.actions.LockAction" />
+        <resource
+            uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/Unlock"
+            class="org.simantics.modeling.ui.actions.UnlockAction" />            
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/NewMasterTypicalDiagram"
+                       class="org.simantics.modeling.ui.typicals.NewMasterTypicalDiagram" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/NewTypicalDiagramInstance"
+                       class="org.simantics.modeling.ui.typicals.NewTypicalDiagramInstance" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingActionContext/Actions/ImportImages"
+                       class="org.simantics.image.ui.ImportImagesActionFactory" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionLabelRule"
+                       class="org.simantics.modeling.ui.modelBrowser2.label.SubscriptionLabelRule"
+                       constructor="get" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionImageRule"
+                       class="org.simantics.modeling.ui.modelBrowser2.image.SubscriptionImageRule"
+                       constructor="get" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionItemLabelRule"
+                       class="org.simantics.modeling.ui.modelBrowser2.label.SubscriptionItemLabelRule" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/SubscriptionItemLabelDecorationRule"
+                       class="org.simantics.modeling.ui.modelBrowser2.label.SubscriptionItemLabelDecorationRule" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ConnectionRelationLabelDecorationRule"
+                       class="org.simantics.modeling.ui.modelBrowser2.label.ConnectionRelationLabelDecorationRule" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/ConnectionRelationModifierRule"
+                       class="org.simantics.modeling.ui.modelBrowser2.label.ConnectionRelationModifierRule" />
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.tests.Test">
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/IsComponent"
+                       class="org.simantics.modeling.ui.modelBrowser2.contributions.IsComponentTest"
+                       constructor="get" />
+               <resource
+                       uri="http://www.simantics.org/Modeling-0.0/ModelingBrowseContext/IsUserDefinedComponentTest"
+                       class="org.simantics.modeling.ui.modelBrowser2.contributions.IsUserDefinedComponentTest"
+                       constructor="get" />
+       </target>
+
+       <target interface="org.simantics.diagram.handler.CopyPasteStrategy">
+               <type uri="http://www.simantics.org/Diagram-0.0/Diagram"
+                       class="org.simantics.diagram.handler.DefaultCopyPasteStrategy" />
+       </target>
+
+       <target interface="org.simantics.diagram.synchronization.CopyAdvisor">
+               <type uri="http://www.simantics.org/Diagram-0.0/Diagram"
+                       class="org.simantics.modeling.mapping.DefaultMappedCopyAdvisor">
+               </type>
+       </target>
+
+       <target interface="org.simantics.ui.workbench.IEditorNamingService">
+               <type uri="http://www.simantics.org/Structural-0.0/ProceduralComponentTypeCode"
+                       class="org.simantics.modeling.ui.componentTypeEditor.ProceduralComponentTypeEditorNamingService">
+               </type>
+       </target>
+
+</adapters>
\ No newline at end of file
index 5ba3f49674594c2fd7b9ebec304606682fc4a17c..c56ab44ad39f527a121829d13409e7bbfd5ac652 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\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
@@ -7,15 +8,45 @@
     http://www.eclipse.org/legal/epl-v10.html
    
     Contributors:
-        VTT Technical Research Centre of Finland - initial API and implementation\r        Semantum Oy - ConnectionRelationStringModifierFactory
+        VTT Technical Research Centre of Finland - initial API and implementation
+        Semantum Oy - ConnectionRelationStringModifierFactory
  -->
 
-<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
-       <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
+<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">
-               <!--\r           <resource
+               <!--
+               <resource
                        uri="http://www.simantics.org/Modeling-0.0/Operations/NewComponentType"
-                       class="org.simantics.modeling.actions.NewComponentType" />\r             -->
+                       class="org.simantics.modeling.actions.NewComponentType" />
+               -->
                <resource
                        uri="http://www.simantics.org/Modeling-0.0/Operations/NavigateToTarget"
                        class="org.simantics.modeling.actions.NavigateToTarget" />
                </type>
                <type
                        uri="http://www.simantics.org/Modeling-0.0/ComponentTypeUpdater"
-                       class="org.simantics.modeling.mapping.ComponentTypeUpdater">\r                   <graph />\r                      <this />\r               </type>\r        </target>
+                       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" />
                        <single uri="http://www.simantics.org/Modeling-0.0/HasBaseRules"
                                to="org.simantics.structural2.modelingRules.IModelingRules" />
                </type>
-       </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
+       </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" />
+    </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>
 </adapters>
\ No newline at end of file
index f79eff8e78871836ce37c054411f89e5b4d4c875..549068a593801410a32d1c04d811dd0536f26ce3 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
index 444ac7ce1d8295e44b2724996c359efbd59e3a71..7a267a7df5cc2ff9e3a61d4e781829216de448f9 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
         VTT Technical Research Centre of Finland - initial API and implementation
  -->
 
-<adapters>\r\r   <target interface="org.simantics.db.layer0.variable.Variable">\r         <adapter uri="http://www.simantics.org/Scenegraph-0.0/LiftedPropertyRelation"\r                  contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.scenegraph.loader.LiftedPropertyVariableAdapter" />\r        </target>\r\r     <target interface="org.simantics.db.layer0.variable.VariableBuilder">\r      <type uri="http://www.simantics.org/Scenegraph-0.0/Node"\r                   class="org.simantics.scenegraph.loader.SceneGraphVariableBuilder" />\r   </target>\r\r     <target interface="org.simantics.db.layer0.adapter.Remover">\r           <type uri="http://www.simantics.org/Scenegraph-0.0/Node"\r                       class="org.simantics.scenegraph.loader.NodeRemover">\r                   <this />\r               </type>\r        </target>\r
+<adapters>
+
+       <target interface="org.simantics.db.layer0.variable.Variable">
+               <adapter uri="http://www.simantics.org/Scenegraph-0.0/LiftedPropertyRelation"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.scenegraph.loader.LiftedPropertyVariableAdapter" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.variable.VariableBuilder">
+               <type uri="http://www.simantics.org/Scenegraph-0.0/Node"
+                       class="org.simantics.scenegraph.loader.SceneGraphVariableBuilder" />
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.Remover">
+               <type uri="http://www.simantics.org/Scenegraph-0.0/Node"
+                       class="org.simantics.scenegraph.loader.NodeRemover">
+                       <this />
+               </type>
+       </target>
 </adapters>
index 851b2588ba24ddd6f4fdbfec6988450286a8bf28..90f1f6d0f6b70a339e6e05b97de8d52be70dfef7 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
         VTT Technical Research Centre of Finland - initial API and implementation
  -->
 
-<adapters>\r\r   <target interface="org.simantics.selectionview.TabContribution">\r               <type uri="http://www.simantics.org/SelectionView-0.0/SCLTabContribution"\r                      class="org.simantics.selectionview.SCLTabContribution">\r                        <graph/>\r                       <this/>\r                </type>\r                <type uri="http://www.simantics.org/SelectionView-0.0/TypedVariableTabContribution"\r                    class="org.simantics.selectionview.TypedVariableTabContribution">\r                      <graph/>\r                       <this/>\r                </type>\r                <type uri="http://www.simantics.org/SelectionView-0.0/VariableTabContribution"\r                 class="org.simantics.selectionview.VariableTabContribution">\r                   <graph/>\r                       <this/>\r                </type>\r        </target>\r\r\r    <target interface="org.simantics.browsing.ui.model.children.ChildRule">\r        <type uri="http://www.simantics.org/SelectionViewUI-0.0/VariablePropertyCategoryRule"\r             class="org.simantics.selectionview.VariablePropertyCategoryRule">\r             <graph/>\r             <this/>\r        </type>\r    </target>\r\r    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/CategoryNodeLabelRule"\r                  class="org.simantics.selectionview.CategoryNodeLabelRule"/>\r        <type uri="http://www.simantics.org/SelectionViewUI-0.0/StandardPropertySorterRuleType"\r                  class="org.simantics.selectionview.StandardPropertySorterRule">\r                  <this/>\r        </type>\r                  \r        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/VariablePropertyLabelRule"\r                  class="org.simantics.selectionview.VariablePropertyLabelRule"/>\r        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/VariablePropertyModifierRule"\r                  class="org.simantics.selectionview.VariablePropertyModifierRule"/>\r        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/VariableColoringDecorationRule"\r                  class="org.simantics.selectionview.VariableColoringDecorationRule"/>\r    </target>\r\r  <target interface="org.simantics.db.layer0.variable.Variable">\r         <!--<adapter uri="http://www.simantics.org/SelectionView-0.0/StandardPropertyInfo"\r                     contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.selectionview.PropertyInfoVariableAdapter" />-->\r           <adapter uri="http://www.simantics.org/SelectionView-0.0/DisplayProperty"\r                      contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.selectionview.DisplayPropertyVariableAdapter" />\r           <adapter uri="http://www.simantics.org/SelectionView-0.0/DisplayValue"\r                 contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.selectionview.DisplayValueVariableAdapter" />\r              <adapter uri="http://www.simantics.org/SelectionView-0.0/DisplayUnit"\r                  contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"\r                     adapterClass="org.simantics.selectionview.DisplayUnitVariableAdapter" />\r       </target>\r
+<adapters>
+
+       <target interface="org.simantics.selectionview.TabContribution">
+               <type uri="http://www.simantics.org/SelectionView-0.0/SCLTabContribution"
+                       class="org.simantics.selectionview.SCLTabContribution">
+                       <graph/>
+                       <this/>
+               </type>
+               <type uri="http://www.simantics.org/SelectionView-0.0/TypedVariableTabContribution"
+                       class="org.simantics.selectionview.TypedVariableTabContribution">
+                       <graph/>
+                       <this/>
+               </type>
+               <type uri="http://www.simantics.org/SelectionView-0.0/VariableTabContribution"
+                       class="org.simantics.selectionview.VariableTabContribution">
+                       <graph/>
+                       <this/>
+               </type>
+       </target>
+
+
+    <target interface="org.simantics.browsing.ui.model.children.ChildRule">
+        <type uri="http://www.simantics.org/SelectionViewUI-0.0/VariablePropertyCategoryRule"
+             class="org.simantics.selectionview.VariablePropertyCategoryRule">
+             <graph/>
+             <this/>
+        </type>
+    </target>
+
+    <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/CategoryNodeLabelRule"
+                  class="org.simantics.selectionview.CategoryNodeLabelRule"/>
+        <type uri="http://www.simantics.org/SelectionViewUI-0.0/StandardPropertySorterRuleType"
+                  class="org.simantics.selectionview.StandardPropertySorterRule">
+                  <this/>
+        </type>
+                  
+        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/VariablePropertyLabelRule"
+                  class="org.simantics.selectionview.VariablePropertyLabelRule"/>
+        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/VariablePropertyModifierRule"
+                  class="org.simantics.selectionview.VariablePropertyModifierRule"/>
+        <resource uri="http://www.simantics.org/SelectionViewUI-0.0/VariableColoringDecorationRule"
+                  class="org.simantics.selectionview.VariableColoringDecorationRule"/>
+    </target>
+
+       <target interface="org.simantics.db.layer0.variable.Variable">
+               <!--<adapter uri="http://www.simantics.org/SelectionView-0.0/StandardPropertyInfo"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.selectionview.PropertyInfoVariableAdapter" />-->
+               <adapter uri="http://www.simantics.org/SelectionView-0.0/DisplayProperty"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.selectionview.DisplayPropertyVariableAdapter" />
+               <adapter uri="http://www.simantics.org/SelectionView-0.0/DisplayValue"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.selectionview.DisplayValueVariableAdapter" />
+               <adapter uri="http://www.simantics.org/SelectionView-0.0/DisplayUnit"
+                       contextClass="org.simantics.db.layer0.variable.ModelledVariablePropertyDescriptor"
+                       adapterClass="org.simantics.selectionview.DisplayUnitVariableAdapter" />
+       </target>
 </adapters>
index 2b294a889b0180c5d2b3018270b08cc6b40cf4a0..f2687a89c54aa55b62e6c83e56eb3fa121966886 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
index a1eb772f4edf3fae4862ca10d2b94cbda10257f2..1cc6a25c215fc702ef9a4913076c38c174930c89 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
  -->
 
 <adapters>
-\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  <target
-               interface="org.simantics.spreadsheet.graph.ServerCell">
-               <baseType
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Cell" />
 
-               <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/Cell"\r                    class="org.simantics.spreadsheet.graph.servercell.GenericServerCell">\r          </type>\r\r               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/TextCell"
-                       class="org.simantics.spreadsheet.graph.servercell.TextServerCell">
-               </type>
-
-               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/TextBlockCell"
-                       class="org.simantics.spreadsheet.graph.servercell.TextBlockServerCell">
+       <target interface="org.simantics.db.layer0.variable.VariableFactory">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/DoubleArrayCell"
+                       class="org.simantics.spreadsheet.graph.adapter.DoubleArrayCells" >
+                       <this />
                </type>
-
-               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/ExpressionCell"
-                       class="org.simantics.spreadsheet.graph.servercell.ExpressionServerCell">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/StringArrayCell"
+                       class="org.simantics.spreadsheet.graph.adapter.StringArrayCells" >
+                       <this />
                </type>
+       </target>
 
-               <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>
-       <target
-
-               interface="org.simantics.spreadsheet.ModelCellCreator">
-               <baseType
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet" />
+       <target interface="org.simantics.db.layer0.adapter.Template">
+       <resource uri = "http://www.simantics.org/Spreadsheet-0.0/CompositeTemplate"
+             class = "org.simantics.spreadsheet.graph.adapter.CompositeTemplate"/>
+       </target>
 
-               <type
-                       uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"
-                       class="org.simantics.spreadsheet.graph.adapter.DefaultCellCreator">
-                       <graph />
+       <target interface="org.simantics.db.layer0.adapter.Remover">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/Book"
+                       class="org.simantics.spreadsheet.graph.adapter.SpreadsheetBookRemover">
                        <this />
                </type>
+       </target>
 
-       </target>\r      -->
-\r 
-       <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 
+       <target interface="org.simantics.db.layer0.variable.VariableBuilder">
+               <type uri="http://www.simantics.org/Spreadsheet-1.2/Book" class="org.simantics.spreadsheet.graph.SpreadsheetVariableBuilder" />
+       </target>
 </adapters>
\ No newline at end of file
index 1a7d1027dd217fef03794be96181b55cbdffa226..86f43e507e7c9a933dc77a980f453fd74070827a 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
  -->
 
 <adapters>
-\r      <target interface="org.simantics.diagram.synchronization.graph.ElementWriter">\r         <resource uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"\r                    class="org.simantics.spreadsheet.ui.SheetWriter" />\r    </target>\r\r     <target interface="org.simantics.diagram.adapter.ElementFactory">\r              <resource\r                      uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"\r                      class="org.simantics.spreadsheet.ui.SheetFactory">\r             </resource>\r            <type\r                  uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"\r                      class="org.simantics.spreadsheet.ui.SheetFactory">\r             </type>\r        </target>\r\r     <target interface="org.simantics.ui.icons.ImageDescriptorProvider">\r            <type uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"\r                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r                  <bundle />\r                     <string>icons/table.png</string>\r               </type>\r        </target>\r\r     <target interface="org.simantics.ui.icons.ImageDescriptorProvider">\r            <type uri="http://www.simantics.org/Spreadsheet-0.0/Book"\r                      class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r                  <bundle />\r                     <string>icons/book.png</string>\r                </type>\r        </target>\r
+
+       <target interface="org.simantics.diagram.synchronization.graph.ElementWriter">
+               <resource uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"
+                       class="org.simantics.spreadsheet.ui.SheetWriter" />
+       </target>
+
+       <target interface="org.simantics.diagram.adapter.ElementFactory">
+               <resource
+                       uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"
+                       class="org.simantics.spreadsheet.ui.SheetFactory">
+               </resource>
+               <type
+                       uri="http://www.simantics.org/Spreadsheet-0.0/SpreadsheetElement"
+                       class="org.simantics.spreadsheet.ui.SheetFactory">
+               </type>
+       </target>
+
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/Spreadsheet"
+                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+                       <bundle />
+                       <string>icons/table.png</string>
+               </type>
+       </target>
+
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
+               <type uri="http://www.simantics.org/Spreadsheet-0.0/Book"
+                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+                       <bundle />
+                       <string>icons/book.png</string>
+               </type>
+       </target>
 </adapters>
\ No newline at end of file
index 29a65e1763a78c43323ce819e0d573c8b31b1ceb..0492eb6b48f8140c8f1024617e3ad6821697bc36 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
  -->
 
 <adapters>
-\r      <target interface="org.simantics.ui.icons.ImageDescriptorProvider">\r    \r               <type uri="http://www.simantics.org/Structural-0.0/Component"\r                  class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/brick.png</string>\r               </type>\r\r               <type uri="http://www.simantics.org/Structural-0.0/Composite"\r                  class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/bricks.png</string>\r              </type>\r                \r               <type uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                      class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/bricks.png</string>\r              </type>\r\r               <type uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"\r                 class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/connect.png</string>\r             </type>\r                \r        <type uri="http://www.simantics.org/Structural-0.0/Property"\r                  class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/textfield.png</string>\r           </type>         \r\r      </target>\r
+
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
+       
+               <type uri="http://www.simantics.org/Structural-0.0/Component"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/brick.png</string>
+               </type>
+
+               <type uri="http://www.simantics.org/Structural-0.0/Composite"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/bricks.png</string>
+               </type>
+               
+               <type uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/bricks.png</string>
+               </type>
+
+               <type uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/connect.png</string>
+               </type>
+               
+        <type uri="http://www.simantics.org/Structural-0.0/Property"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/textfield.png</string>
+               </type>         
+
+       </target>
        <target
                interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
                <type
                        class="org.simantics.structural.ui.modelBrowser.nodes.CompositeNode">
                        <this />
                </type>
-               <type\r                  uri="http://www.simantics.org/Simulation-0.0/Experiment"\r                       class="org.simantics.structural.ui.modelBrowser.nodes.ExperimentNode">\r                 <this />\r               </type>\r                <type\r                  uri="http://www.simantics.org/Simulation-0.0/Run"\r                      class="org.simantics.structural.ui.modelBrowser.nodes.RunNode">\r                        <this />\r               </type>\r                <type
+               <type
+                       uri="http://www.simantics.org/Simulation-0.0/Experiment"
+                       class="org.simantics.structural.ui.modelBrowser.nodes.ExperimentNode">
+                       <this />
+               </type>
+               <type
+                       uri="http://www.simantics.org/Simulation-0.0/Run"
+                       class="org.simantics.structural.ui.modelBrowser.nodes.RunNode">
+                       <this />
+               </type>
+               <type
                        uri="http://www.simantics.org/Structural-0.0/Component"
                        class="org.simantics.structural.ui.modelBrowser.nodes.ComponentNode">
                        <this />
                        class="org.simantics.structural.ui.adapters.DiagramTemplate">
                        <this />
                </type>
-       </target>\r\r     <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">\r               <resource\r                      uri="http://www.simantics.org/Project-0.0/ProjectBrowseContext/RunLabelRule"\r                   class="org.simantics.structural.ui.modelBrowser.contributions.RunLabelRule"\r                    constructor="get" />\r   </target>\r      
+       </target>
+
+       <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
+               <resource
+                       uri="http://www.simantics.org/Project-0.0/ProjectBrowseContext/RunLabelRule"
+                       class="org.simantics.structural.ui.modelBrowser.contributions.RunLabelRule"
+                       constructor="get" />
+       </target>
+       
 </adapters>
\ No newline at end of file
index dee2bfbf9944de63fe7c9ec481caaab5ae669a37..16bbf9591c5bb39dd9c058fdd288d85cd09569f2 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
@@ -11,7 +12,8 @@
  -->
 
 <adapters>
-\r      <target interface="org.simantics.structural2.modelingRules.IModelingRules">
+
+       <target interface="org.simantics.structural2.modelingRules.IModelingRules">
                <baseType uri="http://www.simantics.org/Structural-0.0/ModelingRules" />
                <type uri="http://www.simantics.org/Structural-0.0/SimpleModelingRules"
                        class="org.simantics.structural2.modelingRules.SimpleModelingRules">
                        <graph />
                </resource>
        </target>
-\r      <target interface="org.simantics.db.layer0.variable.RVIResolver">\r              <type uri="http://www.simantics.org/Structural-0.0/Component"\r                  class="org.simantics.structural2.StructuralRVIResolver" >\r              </type>\r                <type uri="http://www.simantics.org/Structural-0.0/Run"\r                        class="org.simantics.structural2.StructuralRVIResolver" >\r              </type>\r                <type uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                      class="org.simantics.structural2.StructuralRVIResolver" >\r              </type>\r        </target>\r\r     <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">\r         <resource uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                  class="org.simantics.structural2.adapter.ComponentTypeImportAdvisorFactory" >\r          </resource>\r    </target>\r      \r       <target interface="org.simantics.db.layer0.adapter.PasteHandler">\r                      <type\r                  uri="http://www.simantics.org/Structural-0.0/ComponentType"\r                    class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">\r                      <this />\r               </type>\r        </target>\r
+
+       <target interface="org.simantics.db.layer0.variable.RVIResolver">
+               <type uri="http://www.simantics.org/Structural-0.0/Component"
+                       class="org.simantics.structural2.StructuralRVIResolver" >
+               </type>
+               <type uri="http://www.simantics.org/Structural-0.0/Run"
+                       class="org.simantics.structural2.StructuralRVIResolver" >
+               </type>
+               <type uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.structural2.StructuralRVIResolver" >
+               </type>
+       </target>
+
+       <target interface="org.simantics.db.layer0.adapter.impl.ImportAdvisorFactory">
+               <resource uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.structural2.adapter.ComponentTypeImportAdvisorFactory" >
+               </resource>
+       </target>
+       
+       <target interface="org.simantics.db.layer0.adapter.PasteHandler">
+                       <type
+                       uri="http://www.simantics.org/Structural-0.0/ComponentType"
+                       class="org.simantics.db.layer0.adapter.impl.DefaultPasteHandler">
+                       <this />
+               </type>
+       </target>
 </adapters>
\ No newline at end of file
index d7d164c245b17bb350501db50b69879e2fa6142b..ddc74c490d81ffe85c0be1da43a35dd16ac44aef 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
                        <bundle />
                        <string>icons/etool16/folder.png</string>
                </resource>
-\r              <type uri="http://www.simantics.org/Simulation-0.0/Model"\r                      class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/chart_organisation.png</string>\r          </type>\r
-               <type uri="http://www.simantics.org/Simulation-0.0/Experiment"\r                 class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/time.png</string>\r                </type>\r\r               <type uri="http://www.simantics.org/Simulation-0.0/Run"\r                        class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/chart_bar.png</string>\r           </type>\r\r               <resource uri="http://www.simantics.org/Layer0X-0.0/RelationView"
+
+               <type uri="http://www.simantics.org/Simulation-0.0/Model"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/chart_organisation.png</string>
+               </type>
+               <type uri="http://www.simantics.org/Simulation-0.0/Experiment"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/time.png</string>
+               </type>
+
+               <type uri="http://www.simantics.org/Simulation-0.0/Run"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/chart_bar.png</string>
+               </type>
+
+               <resource uri="http://www.simantics.org/Layer0X-0.0/RelationView"
                        class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
                        <graph/>
                        <this/>
                        <string>icons/etool16/textfield.png</string>
                </resource>
 
-       </target>\r      \r    <target interface="org.eclipse.jface.resource.ImageDescriptor">\r        <baseType uri="http://www.simantics.org/Image2-0.0/Image" />\r        <type\r            uri="http://www.simantics.org/Image2-0.0/Image"\r            class="org.simantics.ui.icons.GraphImageDescriptor">\r            <graph/>\r            <this/>\r        </type>\r    </target>
-\r    <target interface="org.eclipse.swt.graphics.RGB">\r        <baseType uri="http://www.simantics.org/Color-0.0/RGB" />\r        <adapter\r            uri="http://www.simantics.org/Color-0.0/RGB"\r            adapterClass="org.simantics.ui.colors.RGBAdapter"/>\r    </target>
+       </target>
+       
+    <target interface="org.eclipse.jface.resource.ImageDescriptor">
+        <baseType uri="http://www.simantics.org/Image2-0.0/Image" />
+        <type
+            uri="http://www.simantics.org/Image2-0.0/Image"
+            class="org.simantics.ui.icons.GraphImageDescriptor">
+            <graph/>
+            <this/>
+        </type>
+    </target>
+
+    <target interface="org.eclipse.swt.graphics.RGB">
+        <baseType uri="http://www.simantics.org/Color-0.0/RGB" />
+        <adapter
+            uri="http://www.simantics.org/Color-0.0/RGB"
+            adapterClass="org.simantics.ui.colors.RGBAdapter"/>
+    </target>
 </adapters>
\ No newline at end of file
index c5aa8528074a3b62279b4c2bf918274940d8fcdc..839e15bc18449896da0dc7cbf082eaf379317261 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
         VTT Technical Research Centre of Finland - initial API and implementation
  -->
 
-<adapters>\r\r   <target interface="org.simantics.browsing.ui.graph.impl.SessionContextInputSource">\r            <resource\r                      uri="http://www.simantics.org/Views-0.0/WorkbenchSelectionInputSource"\r                 class="org.simantics.browsing.ui.graph.impl.WorkbenchSelectionInputSource">\r            </resource>\r    </target>\r\r     <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">\r          <type uri="http://www.simantics.org/Views-0.0/Alternative" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                   <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTAlternative</string>\r            </type>\r                <type uri="http://www.simantics.org/Views-0.0/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                     <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTComposite</string>\r              </type>\r                <type uri="http://www.simantics.org/Views-0.0/ScrolledComposite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                     <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTScrolledComposite</string>\r              </type>\r                <type uri="http://www.simantics.org/Views-0.0/SashForm" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                      <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTSashForm</string>\r               </type>\r                <type uri="http://www.simantics.org/Views-0.0/TabFolder" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                     <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTTabFolder</string>\r              </type>\r                <type uri="http://www.simantics.org/Views-0.0/Combo" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                 <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTCombo</string>\r          </type>\r                <type uri="http://www.simantics.org/Views-0.0/CCombo" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                        <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTCCombo</string>\r         </type>\r                <type uri="http://www.simantics.org/Views-0.0/Label" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                 <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTLabel</string>\r          </type>\r                <type uri="http://www.simantics.org/Views-0.0/Text" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                  <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTText</string>\r           </type>\r                <type uri="http://www.simantics.org/Views-0.0/StyledText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                    <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTStyledText</string>\r             </type>\r                <type uri="http://www.simantics.org/Views-0.0/WikiBrowser" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                   <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTWikiBrowser</string>\r            </type>\r                <type uri="http://www.simantics.org/Views-0.0/Browser" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                       <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTBrowser</string>\r                </type>\r                <type uri="http://www.simantics.org/Views-0.0/TrackedText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                   <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTTrackedText</string>\r            </type>\r                <type uri="http://www.simantics.org/Views-0.0/TrackedStyledText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                     <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTTrackedStyledText</string>\r              </type>\r                <type uri="http://www.simantics.org/Views-0.0/Button" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                        <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTButton</string>\r         </type>\r                <type uri="http://www.simantics.org/Views-0.0/Explorer" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">\r                      <this/>\r                        <bundle />\r                     <string>org.simantics.views.swt.client.impl.SWTExplorer</string>\r               </type>\r        </target>\r\r     <target interface="org.simantics.views.swt.ModelledWizardPage">\r                <type\r                  uri="http://www.simantics.org/Views-0.0/Wizard/Page"\r                   class="org.simantics.views.swt.ModelledWizardPageImpl">\r                        <this/>\r                </type>\r        </target>\r\r</adapters>
+<adapters>
+
+       <target interface="org.simantics.browsing.ui.graph.impl.SessionContextInputSource">
+               <resource
+                       uri="http://www.simantics.org/Views-0.0/WorkbenchSelectionInputSource"
+                       class="org.simantics.browsing.ui.graph.impl.WorkbenchSelectionInputSource">
+               </resource>
+       </target>
+
+       <target interface="org.simantics.scenegraph.loader.ScenegraphLoader">
+               <type uri="http://www.simantics.org/Views-0.0/Alternative" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTAlternative</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Composite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTComposite</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/ScrolledComposite" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTScrolledComposite</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/SashForm" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTSashForm</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/TabFolder" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTTabFolder</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Combo" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTCombo</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/CCombo" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTCCombo</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Label" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTLabel</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Text" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTText</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/StyledText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTStyledText</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/WikiBrowser" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTWikiBrowser</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Browser" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTBrowser</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/TrackedText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTTrackedText</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/TrackedStyledText" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTTrackedStyledText</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Button" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTButton</string>
+               </type>
+               <type uri="http://www.simantics.org/Views-0.0/Explorer" class="org.simantics.scenegraph.loader.StandardScenegraphLoader">
+                       <this/>
+                       <bundle />
+                       <string>org.simantics.views.swt.client.impl.SWTExplorer</string>
+               </type>
+       </target>
+
+       <target interface="org.simantics.views.swt.ModelledWizardPage">
+               <type
+                       uri="http://www.simantics.org/Views-0.0/Wizard/Page"
+                       class="org.simantics.views.swt.ModelledWizardPageImpl">
+                       <this/>
+               </type>
+       </target>
+
+</adapters>
index 96cfae28c397a5528663dcec11e1fdb7043458fb..fe43beb187d9bc8d755af6ca3e8cf3cad8aa1762 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials
@@ -10,4 +11,6 @@
         VTT Technical Research Centre of Finland - initial API and implementation
  -->
 
-<adapters>\r\r</adapters>
+<adapters>
+
+</adapters>
index 1b1fea7184ab1135cb2d282933f199f7bd0494d1..57e6479ad674b22ba2b0816eae9a160cb1991006 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>\r<!--
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
     Copyright (c) 2007, 2010 Association for Decentralized Information Management
     in Industry THTH ry.
     All rights reserved. This program and the accompanying materials