Online Resources for Eclipse standard and compatible Icons

In addition to using Eclipse build in image/icon access API (see my previous Post ), there are reasonable websites to access Eclipse icons or free ones that are compatible with them.

 

Icons in EMF Edit Plugin

To customize the image returned for an EMF model element you need to either replace the default icons generated in icons/full/obj16/ or to adapt the getImage() method in the appropriate ItemProvider.
For the latter, you can modify the following statement. Note, that the path to the icon is relative to the icons/ directory and without any file extension at the end.

return overlayImage(object, getResourceLocator().getImage("full/obj16/JaMoPPSoftwareElement"));
Eclipse Icon Resources

Post navigation