Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 117586 - Option to replace "Java" file icon, with class declaration type icon
Summary: Option to replace "Java" file icon, with class declaration type icon
Status: RESOLVED DUPLICATE of bug 111885
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 16:34 EST by Wojtek Bok CLA
Modified: 2005-11-24 11:03 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojtek Bok CLA 2005-11-22 16:34:29 EST
In the Package Explorer view you get a tree view of packages. Within the packages are Java files. Within the Java files are the classes.

When viewing the tree view, the packages have a "package" icon. Within the package view, each Java file has a "Java" icon. However this icon does not indicate whether the declaration within the file is a class, abstract class, interface, etc. You need to expand the Java icon to see the type of declaration.

Is there some way to have the "Java" icon replaced by what is the declaration in the file? And in the case where there are nested classes, only the parent class type would be shown?

This would mean that expanding a package would then show the types of classes/interfaces at a single glance, without needing to open each Java file. As I remember, VisualAge for Java did this, and it was quite useful.
Comment 1 Kim Horne CLA 2005-11-23 08:55:19 EST
If we were still keying editor images based on content types this might be possible but I'm not sure how this could be done at the moment.  Passing to JDT.  If this is something JDT is interested in they can talk to us about the platform support.
Comment 2 Martin Aeschlimann CLA 2005-11-24 11:03:40 EST

*** This bug has been marked as a duplicate of 111885 ***