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