I'm writing an Eclipse plug-in... In my custom label decorator, I want to overlay a warning icon, and I'd like to use the standard one used by eclipse (the little yellow triangle). How can I get an image descriptor of this icon?
I tried using
workbench.getSharedImages().getImageDescriptor(ISharedImages.IMG_DEC_FIELD_WARNING)
since that ID seems to match what I'm looking for, but the shared images collection doesn't actually have that image in it (so I just get a null returned).
Is there some other shared image collection that I should be looking at?