From: luukkainen Date: Thu, 29 Apr 2010 14:58:34 +0000 (+0000) Subject: added icon X-Git-Tag: v1.31.0~140 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=addef29765d6f72760c2d6b3ae4f6fe7123323cc;p=simantics%2Finterop.git added icon git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@15613 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.interop/icons/silk/database_connect.png b/org.simantics.interop/icons/silk/database_connect.png new file mode 100644 index 0000000..3a11197 Binary files /dev/null and b/org.simantics.interop/icons/silk/database_connect.png differ diff --git a/org.simantics.interop/src/org/simantics/interop/browsing/ImportNode.java b/org.simantics.interop/src/org/simantics/interop/browsing/ImportNode.java index a8f8338..6af1cad 100644 --- a/org.simantics.interop/src/org/simantics/interop/browsing/ImportNode.java +++ b/org.simantics.interop/src/org/simantics/interop/browsing/ImportNode.java @@ -13,6 +13,7 @@ import org.simantics.db.Resource; import org.simantics.db.Session; import org.simantics.db.WriteGraph; import org.simantics.db.exception.DatabaseException; +import org.simantics.interop.Activator; import org.simantics.interop.stubs.InteropResource; import org.simantics.modeling.ui.modelBrowser.model.INode; @@ -37,7 +38,7 @@ public class ImportNode implements INode { @Override public ImageDescriptor getImage(ReadGraph graph) throws DatabaseException { - return null; + return Activator.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/silk/database_connect.png"); } @Override