]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural.ui/adapters.xml
29a65e1763a78c43323ce819e0d573c8b31b1ceb
[simantics/platform.git] / bundles / org.simantics.structural.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r<!--
2     Copyright (c) 2007, 2010 Association for Decentralized Information Management
3     in Industry THTH ry.
4     All rights reserved. This program and the accompanying materials
5     are made available under the terms of the Eclipse Public License v1.0
6     which accompanies this distribution, and is available at
7     http://www.eclipse.org/legal/epl-v10.html
8    
9     Contributors:
10         VTT Technical Research Centre of Finland - initial API and implementation
11  -->
12
13 <adapters>
14 \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
15         <target
16                 interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
17                 <type
18                         uri="http://www.simantics.org/Simulation-0.0/Model"
19                         class="org.simantics.structural.ui.modelBrowser.nodes.ModelNode">
20                         <this />
21                 </type>
22                 <type
23                         uri="http://www.simantics.org/Structural-0.0/Composite"
24                         class="org.simantics.structural.ui.modelBrowser.nodes.CompositeNode">
25                         <this />
26                 </type>
27                 <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
28                         uri="http://www.simantics.org/Structural-0.0/Component"
29                         class="org.simantics.structural.ui.modelBrowser.nodes.ComponentNode">
30                         <this />
31                 </type>
32                 <type
33                         uri="http://www.simantics.org/Structural-0.0/ComponentType"
34                         class="org.simantics.structural.ui.modelBrowser.nodes.ComponentTypeNode">
35                         <this />
36                 </type>
37         </target>
38
39         <target interface="org.simantics.db.layer0.adapter.Template">
40                 <type uri="http://www.simantics.org/Modeling-0.0/DiagramTemplate"
41                         class="org.simantics.structural.ui.adapters.DiagramTemplate">
42                         <this />
43                 </type>
44         </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      
45 </adapters>