]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.structural.ui/adapters.xml
Fixed diagram mouse wheel zooming for HiDPI monitors with zoom
[simantics/platform.git] / bundles / org.simantics.structural.ui / adapters.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2007, 2010 Association for Decentralized Information Management
4     in Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <adapters>
15
16         <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
17         
18                 <type uri="http://www.simantics.org/Structural-0.0/Component"
19                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
20                         <graph/>
21                         <this/>
22                         <bundle />
23                         <string>icons/brick.png</string>
24                 </type>
25
26                 <type uri="http://www.simantics.org/Structural-0.0/Composite"
27                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
28                         <graph/>
29                         <this/>
30                         <bundle />
31                         <string>icons/bricks.png</string>
32                 </type>
33                 
34                 <type uri="http://www.simantics.org/Structural-0.0/ComponentType"
35                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
36                         <graph/>
37                         <this/>
38                         <bundle />
39                         <string>icons/bricks.png</string>
40                 </type>
41
42                 <type uri="http://www.simantics.org/Structural-0.0/ConnectionRelation"
43                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
44                         <graph/>
45                         <this/>
46                         <bundle />
47                         <string>icons/connect.png</string>
48                 </type>
49                 
50         <type uri="http://www.simantics.org/Structural-0.0/Property"
51                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
52                         <graph/>
53                         <this/>
54                         <bundle />
55                         <string>icons/textfield.png</string>
56                 </type>         
57
58         </target>
59         <target
60                 interface="org.simantics.structural.ui.modelBrowser.nodes.AbstractNode">
61                 <type
62                         uri="http://www.simantics.org/Simulation-0.0/Model"
63                         class="org.simantics.structural.ui.modelBrowser.nodes.ModelNode">
64                         <this />
65                 </type>
66                 <type
67                         uri="http://www.simantics.org/Structural-0.0/Composite"
68                         class="org.simantics.structural.ui.modelBrowser.nodes.CompositeNode">
69                         <this />
70                 </type>
71                 <type
72                         uri="http://www.simantics.org/Simulation-0.0/Experiment"
73                         class="org.simantics.structural.ui.modelBrowser.nodes.ExperimentNode">
74                         <this />
75                 </type>
76                 <type
77                         uri="http://www.simantics.org/Simulation-0.0/Run"
78                         class="org.simantics.structural.ui.modelBrowser.nodes.RunNode">
79                         <this />
80                 </type>
81                 <type
82                         uri="http://www.simantics.org/Structural-0.0/Component"
83                         class="org.simantics.structural.ui.modelBrowser.nodes.ComponentNode">
84                         <this />
85                 </type>
86                 <type
87                         uri="http://www.simantics.org/Structural-0.0/ComponentType"
88                         class="org.simantics.structural.ui.modelBrowser.nodes.ComponentTypeNode">
89                         <this />
90                 </type>
91         </target>
92
93         <target interface="org.simantics.db.layer0.adapter.Template">
94                 <type uri="http://www.simantics.org/Modeling-0.0/DiagramTemplate"
95                         class="org.simantics.structural.ui.adapters.DiagramTemplate">
96                         <this />
97                 </type>
98         </target>
99
100         <target interface="org.simantics.browsing.ui.model.visuals.VisualsRule">
101                 <resource
102                         uri="http://www.simantics.org/Project-0.0/ProjectBrowseContext/RunLabelRule"
103                         class="org.simantics.structural.ui.modelBrowser.contributions.RunLabelRule"
104                         constructor="get" />
105         </target>
106         
107 </adapters>