How do I remove icons from menu items in an Eclipse RCP-based application?

This turned out to be easier than I had hoped.

This turned out to be easier than I had hoped. Create a subclass of org.eclipse.ui.application. ActionBarAdvisor.

Override the method register like this: protected void register(IAction action) { super. Register(action); action. SetImageDescriptor(null); } Then, create a subclass of org.eclipse.ui.application.

WorkbenchWindowAdvisor that overrides createActionBarAdvisor: public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) { return new MyActionBarAdvisor(configurer); } That's it. All actions will no longer have icons.

I believe you want to further examine going into the manifest and looking into org.eclipse.ui. Views and seeing if there is anything in there for removing icons.

Having said all that you could try contributing a fragment with some AspectJ around advice to intercept calls to setImage() and veto them.

We want an application that doesn't look like the Eclipse workbench. RCP does not define what a 'standard interface' looks like, and the icons appear nowhere else in the UI, so if anything they add confusion by being there. – Scott K.

Jul 10 '09 at 21:02.

You can do this by going to the extension tab in plugin.xml. Add the extension org.eclipse.ui. Menu (if not present).

Right click create a new menu contribution. Again right click and create a new menu. Here you have the option to change the images with the ones saved in your icon folder in your class path.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions