How to get icons for entities from eclipse?
Posted
by fastcodejava
on Stack Overflow
See other posts from Stack Overflow
or by fastcodejava
Published on 2010-04-01T18:55:12Z
Indexed on
2010/04/01
21:13 UTC
Read the original article
Hit count: 246
I am writing an eclipse plugin. How do I get the various images from eclipse library? So I don't have have keep a local set of images for the standard entities, e.g classes, interfaces, junits, etc.
EDIT : I used PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FILE)
from the article : http://www.eclipse.org/articles/Article-Using%20Images%20In%20Eclipse/Using%20Images%20In%20Eclipse.html.
That did not work.
© Stack Overflow or respective owner