Feb 04 2009
My colleague Lukasz Milewski has just spotted a missing piece in a code sample for creating icons presented in previous post. In the screenshot you can see nice icons for currently running Jobs as well as for scheduled Jobs. You need to set two properties in your Job implementation to associate an icon with it.
setProperty(IProgressConstants.KEEP_PROPERTY, Boolean.TRUE); setProperty(IProgressConstants.ICON_PROPERTY, ImageDescriptorFactory .createImageDescriptor(ICON_NAME));
4 Responses to “Eclipse Jobs API – Errata”
Leave a Reply
You must be logged in to post a comment.