]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
added icon
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 29 Apr 2010 14:58:34 +0000 (14:58 +0000)
committerMarko Luukkainen <marko.luukkainen@vtt.fi>
Thu, 2 Feb 2017 09:22:10 +0000 (11:22 +0200)
git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@15613 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.interop/icons/silk/database_connect.png [new file with mode: 0644]
org.simantics.interop/src/org/simantics/interop/browsing/ImportNode.java

diff --git a/org.simantics.interop/icons/silk/database_connect.png b/org.simantics.interop/icons/silk/database_connect.png
new file mode 100644 (file)
index 0000000..3a11197
Binary files /dev/null and b/org.simantics.interop/icons/silk/database_connect.png differ
index a8f8338efc320dd4377f3cf0092f94a9ea7dab89..6af1cad963c76320c1812bc901f3ea253ba235aa 100644 (file)
@@ -13,6 +13,7 @@ import org.simantics.db.Resource;
 import org.simantics.db.Session;\r
 import org.simantics.db.WriteGraph;\r
 import org.simantics.db.exception.DatabaseException;\r
+import org.simantics.interop.Activator;\r
 import org.simantics.interop.stubs.InteropResource;\r
 import org.simantics.modeling.ui.modelBrowser.model.INode;\r
 \r
@@ -37,7 +38,7 @@ public class ImportNode implements INode {
        \r
        @Override\r
        public ImageDescriptor getImage(ReadGraph graph) throws DatabaseException {\r
-               return null;\r
+               return Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/silk/database_connect.png");\r
        }\r
        \r
        @Override\r