How can I disable all images for an JFace menu but leave them enabled in the toolbar

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2009-04-09T15:56:35Z Indexed on 2010/05/10 16:04 UTC
Read the original article Hit count: 323

Filed under:
|
|

If I create a set of actions to be used in a JFace application and I assign images to those actions, those images show up in both the toolbar (where I want them) and in the menus (where I don't want them).

Other than supplying two completely separate sets of actions (which eliminates part of the point of actions in the first place), how can I arrange to have those images displayed ONLY in the toolbar, and have the menus display only text?

© Stack Overflow or respective owner

Related posts about java

Related posts about jface