Community
Participate
Working Groups
Created attachment 87729 [details] Patch with fix. The patch to bug 209883 changed some expressions actions from being an objectContribution to a viewContribution. This change means that third party views which count on this action to be automatically contributed will be broken. The attached patch fixes this change by using a command and a handler to achieve the same functionality as the previous objectContribution. P.S. The patch is a little messy with respect to copyright statements and placement of extensions in the plugin.xml file. But my guess is that I couldn't get those right anyway.
Created attachment 87733 [details] Updated patch with fix. It seems that introduced a bug in the previous patch just before creating it, which caused the new action not to appear in the menu. Attaching an updated patch without the bug.
Created attachment 89435 [details] replacement patch Thanks Pawel, I updated the patch (and it's a nice example of how to use the comand/handler/menu extension). * removed an unused class (WatchExpressionHandler) * removed the WatchAction class from the patch (it was the same as in HEAD already) * modified the "visibleWhen" attribute of the handler to only be visible when selection "count = +" (else the action appears enabled for an empty selection) Do you agree with the contents of the new patch?
(In reply to comment #2) > Do you agree with the contents of the new patch? I most certainly do. Thanks :-)
Applied patch. Deleted now unused WatchAction.
Verified.