|Dynamic visibility toolbar button [message #336317]
||Mon, 08 June 2009 08:58
| Alexia Allanic
Registered: July 2009
I use org.eclipse.ui.menus to have a dynamic menu in toolbar. I want to
have a button in the toolbar activated and visibled only when the current
editor is one of editors "save" in my extension point.
First, I try to use an Adapter with the property visibleWhen.
Next, I try to overwrite the method isVisible of ContributionItem class
but the active editor is not loading before the method call.
This two solutions don't work, someone has an other idea?
Powered by FUDForum
. Page generated in 0.08763 seconds