Community
Participate
Working Groups
4.1 build: I20110118-1548. Navigate > Open Declaration is missing. 1. start new workspace 2. paste "public class A {}" into Package Explorer 3. open the 'Navigate' main menu ==> 'Open Declaration (F3)' is missing.
Mh, F3 is there but it's called 'Open' instead of 'Open Declaration'.
I see: the action is defined as retargetable action with allowLabelUpdate="true" And this seems not to work.
Created attachment 199668 [details] Patch v01 Currently Eclipse does not register most of the retarget ActionSets defined in the extensions with the part listeners. Thus, whenever any part is activated, any of the retarget actions are not considered and thus, are not updated. The patch enables makes sure the retarget Action Sets are registered with the part listeners and thus, they are updated when the appropriate view is activated.
Remy, could you please have a look at this patch? PW
(In reply to comment #4) > Remy, could you please have a look at this patch? From some preliminary testing, the patch fixes the problem described by comment 0.
(In reply to comment #3) > Created attachment 199668 [details] > Patch v01 It feels to me that a toggling action may potentially be a retarget action though I'm not sure. This patch seems to imply this won't happen given how the if statements are structured.
Aggregate move to M5. Retarget to a different milestone if you wish...
Is this going to require similar (identical) code in DirectContributionItem?
(In reply to comment #8) > Is this going to require similar (identical) code in DirectContributionItem? It shouldn't. DirectContributionItem is hooking up a MDMI to a menuitem. It doesn't have a 3.x counterpart. PW
Fixed by bug 319704 PW
Verified in 4.2-N20120418-2000 that this is working.