Community
Participate
Working Groups
The "Update Policy" sub-menu available in the registers and variables views allows the user to select when the view should be updated. This menu is populated based on the current input into the view and it shows the list of updated modes supported by the current view model. The problems are: - Sometimes the action for this menu does not show the sub-menu at all. - When a new mode is first selected in the menu, the selection doesn't stick. The new mode has to be selected again the second time for the mode to actually take effect. - The action menu is not registered for the Expressions view at all, although the view should be able to support different update modes. If all problems cannot be addressed at once, additional bugs may be filed.
*** Bug 219124 has been marked as a duplicate of this bug. ***
Created attachment 98386 [details] Patch with fix. I fixed the various issues with this menu, but in order to do that I had to turn the menu back to a static menu with individual actions for each update mode. Most of the problems with the menu came from the fact that the action (and the sub-menu) was not initialized before the menu was shown. To make this a dynamic menu we would need to convert it to use the command framework, and we would need the debug framework to provide us with a debug context (see bug 229219).
I committed the fix. Ted could you plesase review. P.S. I also did some cleanup in the plugin.xml.
Closing out 1.0 bugs.