| Dynamic visibility toolbar button [message #336317] |
Mon, 08 June 2009 04:58  |
Alexia Allanic Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
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?
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02167 seconds