]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.ui/adapters.xml
ConstantLabelDecorationRule to avoid Display in creating FontDescriptors
[simantics/platform.git] / bundles / org.simantics.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/Layer0-0.0/Entity"
19                         class="org.simantics.ui.icons.NullImageDescriptorProvider" />
20
21                 <resource uri="http://www.simantics.org/Layer0-0.0/Library"
22                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
23                         <graph/>
24                         <this/>
25                         <bundle />
26                         <string>icons/etool16/folder.png</string>
27                 </resource>
28
29                 <type uri="http://www.simantics.org/Simulation-0.0/Model"
30                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
31                         <graph/>
32                         <this/>
33                         <bundle />
34                         <string>icons/chart_organisation.png</string>
35                 </type>
36                 <type uri="http://www.simantics.org/Simulation-0.0/Experiment"
37                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
38                         <graph/>
39                         <this/>
40                         <bundle />
41                         <string>icons/time.png</string>
42                 </type>
43
44                 <type uri="http://www.simantics.org/Simulation-0.0/Run"
45                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
46                         <graph/>
47                         <this/>
48                         <bundle />
49                         <string>icons/chart_bar.png</string>
50                 </type>
51
52                 <resource uri="http://www.simantics.org/Layer0X-0.0/RelationView"
53                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
54                         <graph/>
55                         <this/>
56                         <bundle />
57                         <string>icons/etool16/database_table.png</string>
58                 </resource>
59
60                 <resource
61                         uri="http://www.simantics.org/Layer0-0.0/Value"
62                         class="org.simantics.ui.icons.BundleImageDescriptorProvider">
63                         <bundle />
64                         <string>icons/etool16/textfield.png</string>
65                 </resource>
66
67         </target>
68         
69     <target interface="org.eclipse.jface.resource.ImageDescriptor">
70         <baseType uri="http://www.simantics.org/Image2-0.0/Image" />
71         <type
72             uri="http://www.simantics.org/Image2-0.0/Image"
73             class="org.simantics.ui.icons.GraphImageDescriptor">
74             <graph/>
75             <this/>
76         </type>
77     </target>
78
79     <target interface="org.eclipse.swt.graphics.RGB">
80         <baseType uri="http://www.simantics.org/Color-0.0/RGB" />
81         <adapter
82             uri="http://www.simantics.org/Color-0.0/RGB"
83             adapterClass="org.simantics.ui.colors.RGBAdapter"/>
84     </target>
85 </adapters>