Community
Participate
Working Groups
Navigate > Show In... on any selection in the Project Explorer always shows <No Applicable Views> even if the PE is registered as showInPart element in a perspectiveExtension. The Navigator view at least shows History Project Explorer for the same selection in the Resource perspective. The reason seems to be that class CommonNavigator is not adaptable to IShowInSource.
Created attachment 90885 [details] Proposed fix Make CommonNavigator adaptable to IShowInSource.
BTW: Anton, it looks like you attached a cdt patch instead. PW
Is this kind of related to bug 218885?
Created attachment 90975 [details] Proposed fix #2 Sorry. This time it's the right patch.
(In reply to comment #3) > Is this kind of related to bug 218885? I don't think so. Bug 218885 is about making the PE a show-in target. This bug is about PE being a show-in source.
Created attachment 109963 [details] Patch revised for copyright notice Paul, can you review this for 3.4.1? I have tested it and it seems to work fine.
*** Bug 218885 has been marked as a duplicate of this bug. ***
The patch needs a tweak. getShowInSource() should be private in 3.4.1 (otherwise it is API). Other than that, it looks good: When you commit, don't forget to 1) branch the appropriate projects to the R3_4_maintenance branch (this one applies for bug 170758 as well). 2) increment the minor version of org.eclipse.ui.navigator 3) mark Anton's patch with the iplog flag (in the attachment details section). PW
Created attachment 110050 [details] Revised per Pauls' suggestion
Released to HEAD (35M2) and to R3_4_maintenance for 3.4.1
Verified that show in works in M20080827-2000
*** Bug 220529 has been marked as a duplicate of this bug. ***
Removing iplog+ from bug - this indicates an IP contribution in a comment rather than a patch. http://wiki.eclipse.org/Development_Resources/Automatic_IP_Log