]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/adapters.xml
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.ui / adapters.xml
diff --git a/bundles/org.simantics.ui/adapters.xml b/bundles/org.simantics.ui/adapters.xml
new file mode 100644 (file)
index 0000000..f80a5d4
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>\r<!--\r
+    Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+    in Industry THTH ry.\r
+    All rights reserved. This program and the accompanying materials\r
+    are made available under the terms of the Eclipse Public License v1.0\r
+    which accompanies this distribution, and is available at\r
+    http://www.eclipse.org/legal/epl-v10.html\r
+   \r
+    Contributors:\r
+        VTT Technical Research Centre of Finland - initial API and implementation\r
+ -->\r
+
+<adapters>\r
+\r
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">\r
+\r
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity"\r
+                       class="org.simantics.ui.icons.NullImageDescriptorProvider" />\r
+\r
+               <resource uri="http://www.simantics.org/Layer0-0.0/Library"\r
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r
+                       <graph/>\r
+                       <this/>\r
+                       <bundle />\r
+                       <string>icons/etool16/folder.png</string>\r
+               </resource>\r
+\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\r
+               <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"\r
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">\r
+                       <graph/>\r
+                       <this/>\r
+                       <bundle />\r
+                       <string>icons/etool16/database_table.png</string>\r
+               </resource>\r
+\r
+               <resource\r
+                       uri="http://www.simantics.org/Layer0-0.0/Value"\r
+                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">\r
+                       <bundle />\r
+                       <string>icons/etool16/textfield.png</string>\r
+               </resource>\r
+\r
+       </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>\r
+\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>\r
+</adapters>
\ No newline at end of file