enable command handler on startup [message #332028] |
Wed, 01 October 2008 11:27  |
Eclipse User |
|
|
|
Hi,
I've bound a command handler to a menu in combination with the
visibleWhen option "checkEnabled". The plugin hosting the command handle
will not activated before the first command execution is triggered. This
ends into that my menu item is always enabled, independent on the state
the command handle would decide. How to I force the extension to
consider my handler right from front up. (The decision is dependent on
an value retrieved from an adapter for the current selection, where the
adapter is registered anywhere else.) And as second handicap: I'm
referring to a viewer that is not in my hand - so that I can't change
the menu initialization sequence...
Any ideas are welcome ... :-)
Sven
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02831 seconds