]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/adapters.xml
Fixed RVI.fromResourceFormat GUID RVI part parsing
[simantics/platform.git] / bundles / org.simantics.ui / adapters.xml
index f80a5d49fb2793ca6f8185ccbe4753f26e801cb3..ddc74c490d81ffe85c0be1da43a35dd16ac44aef 100644 (file)
@@ -1,45 +1,85 @@
-<?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
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright (c) 2007, 2010 Association for Decentralized Information Management
+    in Industry THTH ry.
+    All rights reserved. This program and the accompanying materials
+    are made available under the terms of the Eclipse Public License v1.0
+    which accompanies this distribution, and is available at
+    http://www.eclipse.org/legal/epl-v10.html
+   
+    Contributors:
+        VTT Technical Research Centre of Finland - initial API and implementation
+ -->
+
+<adapters>
+
+       <target interface="org.simantics.ui.icons.ImageDescriptorProvider">
+
+               <type uri="http://www.simantics.org/Layer0-0.0/Entity"
+                       class="org.simantics.ui.icons.NullImageDescriptorProvider" />
+
+               <resource uri="http://www.simantics.org/Layer0-0.0/Library"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/etool16/folder.png</string>
+               </resource>
+
+               <type uri="http://www.simantics.org/Simulation-0.0/Model"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/chart_organisation.png</string>
+               </type>
+               <type uri="http://www.simantics.org/Simulation-0.0/Experiment"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/time.png</string>
+               </type>
+
+               <type uri="http://www.simantics.org/Simulation-0.0/Run"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/chart_bar.png</string>
+               </type>
+
+               <resource uri="http://www.simantics.org/Layer0X-0.0/RelationView"
+                       class="org.simantics.ui.icons.GraphOrBundleImageDescriptorProvider">
+                       <graph/>
+                       <this/>
+                       <bundle />
+                       <string>icons/etool16/database_table.png</string>
+               </resource>
+
+               <resource
+                       uri="http://www.simantics.org/Layer0-0.0/Value"
+                       class="org.simantics.ui.icons.BundleImageDescriptorProvider">
+                       <bundle />
+                       <string>icons/etool16/textfield.png</string>
+               </resource>
+
+       </target>
+       
+    <target interface="org.eclipse.jface.resource.ImageDescriptor">
+        <baseType uri="http://www.simantics.org/Image2-0.0/Image" />
+        <type
+            uri="http://www.simantics.org/Image2-0.0/Image"
+            class="org.simantics.ui.icons.GraphImageDescriptor">
+            <graph/>
+            <this/>
+        </type>
+    </target>
+
+    <target interface="org.eclipse.swt.graphics.RGB">
+        <baseType uri="http://www.simantics.org/Color-0.0/RGB" />
+        <adapter
+            uri="http://www.simantics.org/Color-0.0/RGB"
+            adapterClass="org.simantics.ui.colors.RGBAdapter"/>
+    </target>
 </adapters>
\ No newline at end of file