Community
Participate
Working Groups
3.3 RC4 Bring up the context menu on any of the manifest editor source pages. You will see a Show In > item. It never has any applicable views. By contrast, the Java editor has 3 applicable views.
Since you are looking at the formatting action on the read only Manifest, can you look at this one too. Should be in the same area.
The "Show In" menu appears to be dynamically populated. In my host workbench I see the following entries for the plugin.xml source page: * Navigator * History * Package Explorer In my runtime workbench I don't see any entries for the plugin.xml source page. In the Java editor, there is also the "Outline" view. What should Noam do?
Mike, it's not a host vs runtime workbench thing. It's a perspective thing. If you are in the PDE perspective, the menu is always empty.
This is one of the Great Unsolved Problems, see e.g. bug 173649 :-( The only "fix" right now is to enumerate all known views all over the place (in plugin.xml and in the editors's getAdapter(..)).
Noam's the man! He has already dealt with this menu before in the Plug-ins view (bug 186578) and should have little problem with it :)
Created attachment 72080 [details] Patch for bug 193702. This problem is actually more widespread: every PDE source page is affected. With this patch, any source page editor associated with a workspace resource will display "Package Explorer" and "Navigator" as choices in the "Show In >" submenu. PDE resources unavailable in the workspace will not have these two options. As a nice side-effect, the "Show In" keyboard shortcut (Alt+Shift+W) now works in PDE source pages as well. :)
Beautiful. Nice job investigating and fixing other source pages. Like how you also considered the read-only scenario. Nice patch! Mike, if you are satisfied with the patch go ahead and apply it to HEAD.
Comment on attachment 72080 [details] Patch for bug 193702. Patch tested well. Thanks Noam.
Patch released to HEAD.