Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Image path for PluginImageHelper
Image path for PluginImageHelper [message #1002892] Sat, 19 January 2013 19:19 Go to next message
Felix Neutatz is currently offline Felix NeutatzFriend
Messages: 1
Registered: January 2013
Junior Member

I want to style my outline view nodes with images. Therefore I want to use the PluginImageHelper as it is advised. My problem is that I don't know where to locate the image file!

 private PluginImageHelper imageHelper;

((org.eclipse.xtext.ui.editor.outline.impl.EObjectNode) node).setImage(imageHelper.getImage("test.gif"));

Thank you for your help,

Re: Image path for PluginImageHelper [message #1003566 is a reply to message #1002892] Mon, 21 January 2013 14:23 Go to previous message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member

if you look at the PluginImageHelper source code, you see that the pathSuffix is "icons/" (in case it is not overriden by an injected string.


Need training, onsite consulting or any other kind of help for Xtext?
Go visit or send a mail to
Previous Topic:Calling the serializer preserving original formatting
Next Topic:Xtext, debug and method calls
Goto Forum:

Current Time: Mon Feb 24 21:29:09 GMT 2020

Powered by FUDForum. Page generated in 0.01840 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top