]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.ui/adapters.xml
d7d164c245b17bb350501db50b69879e2fa6142b
[simantics/platform.git] / bundles / org.simantics.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
15         <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
16
17                 <type uri="http://www.simantics.org/Layer0-0.0/Entity"
18                         class="org.simantics.ui.icons.NullImageDescriptorProvider" />
19
20                 <resource uri="http://www.simantics.org/Layer0-0.0/Library"
21                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
22                         <graph/>
23                         <this/>
24                         <bundle />
25                         <string>icons/etool16/folder.png</string>
26                 </resource>
27 \r               <type uri="http://www.simantics.org/Simulation-0.0/Model"\r                      class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/chart_organisation.png</string>\r          </type>\r
28                 <type uri="http://www.simantics.org/Simulation-0.0/Experiment"\r                 class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/time.png</string>\r                </type>\r\r               <type uri="http://www.simantics.org/Simulation-0.0/Run"\r                        class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r                   <graph/>\r                       <this/>\r                        <bundle />\r                     <string>icons/chart_bar.png</string>\r           </type>\r\r               <resource uri="http://www.simantics.org/Layer0X-0.0/RelationView"
29                         class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
30                         <graph/>
31                         <this/>
32                         <bundle />
33                         <string>icons/etool16/database_table.png</string>
34                 </resource>
35
36                 <resource
37                         uri="http://www.simantics.org/Layer0-0.0/Value"
38                         class="org.simantics.ui.icons.BundleImageDescriptorProvider">
39                         <bundle />
40                         <string>icons/etool16/textfield.png</string>
41                 </resource>
42
43         </target>\r      \r    <target interface="org.eclipse.jface.resource.ImageDescriptor">\r        <baseType uri="http://www.simantics.org/Image2-0.0/Image" />\r        <type\r            uri="http://www.simantics.org/Image2-0.0/Image"\r            class="org.simantics.ui.icons.GraphImageDescriptor">\r            <graph/>\r            <this/>\r        </type>\r    </target>
44 \r    <target interface="org.eclipse.swt.graphics.RGB">\r        <baseType uri="http://www.simantics.org/Color-0.0/RGB" />\r        <adapter\r            uri="http://www.simantics.org/Color-0.0/RGB"\r            adapterClass="org.simantics.ui.colors.RGBAdapter"/>\r    </target>
45 </adapters>