Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 89143

Summary: Plug-ins view should drill into JARd plug-ins
Product: [Eclipse Project] PDE Reporter: Dejan Glozic <dejan>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, rfrost
Version: 3.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dejan Glozic CLA 2005-03-25 16:47:48 EST
When external plug-ins are JARd, it is not possible to see the inside in the 
Plug-ins view. I propose that you return 'true' when asked if the node has 
children in the content provider. When asked to provide children, lazily peek 
into the JAR and hang onto the objects (cache them and close the JAR handle). 
Caching is OK since they will not change in the JAR anyway.

Opening files, copying etc. of the children may prove interesting though :-).
Comment 1 Dejan Glozic CLA 2005-03-25 16:50:28 EST
A cheap way of going inside a JAR would be to add the JAR to Java search. 
Doing so gives you access to the elements, including non-Java resources using 
Java APIs. This is similar to what we currently use to drill into JARs when we 
add plug-ins to Java search, only that you would now apply this to the entire 
plug-in.

A downside of this would be that you don't get to see non-Java files unless 
you add the JAR to Java search, which is not intuitive. Perhaps adding the JAR 
to Java search should change the way Java folders should be treated i.e. show 
packages instead of 'org/eclipse/ui/...' folders. 
Comment 2 Wassim Melhem CLA 2005-03-28 17:19:15 EST
*** Bug 89132 has been marked as a duplicate of this bug. ***
Comment 3 Wassim Melhem CLA 2005-06-20 19:48:47 EDT
*** Bug 100954 has been marked as a duplicate of this bug. ***
Comment 4 Curtis Windatt CLA 2011-06-08 11:32:26 EDT
No one has shown interest in fixing this in several years.  Closing as WONTFIX.  Please reopen if you are interested in contributing a fix.