]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural.ui/adapters.xml
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.structural.ui / adapters.xml
diff --git a/bundles/org.simantics.structural.ui/adapters.xml b/bundles/org.simantics.structural.ui/adapters.xml
new file mode 100644 (file)
index 0000000..6331149
--- /dev/null
@@ -0,0 +1,45 @@
+<?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
+
+<adapters>\r
+\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\r
+       <target\r
+               interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">\r
+               <type\r
+                       uri="http://www.simantics.org/Simulation-0.0/Model"\r
+                       class="org.simantics.structural.ui.modelBrowser.nodes.ModelNode">\r
+                       <this />\r
+               </type>\r
+               <type\r
+                       uri="http://www.simantics.org/Structural-0.0/Composite"\r
+                       class="org.simantics.structural.ui.modelBrowser.nodes.CompositeNode">\r
+                       <this />\r
+               </type>\r
+               <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\r
+                       uri="http://www.simantics.org/Structural-0.0/Component"\r
+                       class="org.simantics.structural.ui.modelBrowser.nodes.ComponentNode">\r
+                       <this />\r
+               </type>\r
+               <type\r
+                       uri="http://www.simantics.org/Structural-0.0/ComponentType"\r
+                       class="org.simantics.structural.ui.modelBrowser.nodes.ComponentTypeNode">\r
+                       <this />\r
+               </type>\r
+       </target>\r
+\r
+       <target interface="org.simantics.db.layer0.adapter.Template">\r
+               <type uri="http://www.simantics.org/Modeling-0.0/DiagramTemplate"\r
+                       class="org.simantics.structural.ui.adapters.DiagramTemplate">\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/Project-0.0/ProjectBrowseContext/RunLabelRule"\r                   class="org.simantics.structural.ui.modelBrowser.contributions.RunLabelRule"\r                    constructor="get" />\r   </target>\r      \r
+</adapters>
\ No newline at end of file