Problems with ActionEnablement [message #325043] |
Wed, 06 February 2008 12:44  |
Eclipse User |
|
|
|
Originally posted by: a.heikhaus.cenit.de
Hi,
I created 2 plugins. Let´s say one testplugin and one extendedplugin.
In the testplugin I defined a view "testview" and configured also some viewactions for this view. My actions implements the interfaces IViewActionDelegate, IActionDelegate2. In method selectionChanged I implemented some cases for enablement that can not be catched by the standard eclipse enablement rules.
The extendedplugin also holds some actions implemented in the same way and that integrates into the toolbar of the view defined in testplugin.
Now my problem: All actions I defined in the testplugin behaves like I want. That means they are in the states I expected on a selection. The ones I defined in the extendedplugin behave inccorrect. Each one has to be pushed to get the right state. I know that is because I´m handling with proxy objects but I'm asking by myself why it is possible to get the right behavior for the "inner" actions but not for the actions defined outside the plugin. May be someone know how to solve this?!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03474 seconds