File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse v3 and package Explorer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse v3 and package Explorer" Watch "Eclipse v3 and package Explorer" New topic
Author

Eclipse v3 and package Explorer

Susan
Ranch Hand

Joined: Apr 26, 2005
Posts: 54
Hi,

we are using eclipse and unless the Package Explorer pane is taking up a large amount of real estate all you can see are the package names of the class, eg com.xyz.abc. Is there to only display the last meaningful package name so that the java class name can easily be seen?


thanks,

Susan
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Do you mean "layout flat" vs. "layout hierarchical"? Layout is switchable off the dropdown menu attached to the inverted black triangle (rightmost control at the top of the window).


Customer surveys are for companies who didn't pay proper attention to begin with.
Susan
Ranch Hand

Joined: Apr 26, 2005
Posts: 54
No, I mean having the layout flat but removing the redundant packages, this is illustrated below:

Currently in eclipse it displays the java source prepended with their packages, eg:
com.myCompanyName.project.package1
com.myCompanyName.project.package2
com.myCompanyName.project.package3
com.myCompanyName.project.package4
com.myCompanyName.project.package5

But can eclipse display it as:
package1
package2
package3
package4
package5


thnaks,

Susan
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
To the best of my knowledge this can't be done.

Personally I have almost all my 'views' on fast view so they only take up screen space when I'm looking at them.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Window/Preferences/Java/Appearance/compress all package name segments


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
Learn something new everyday.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse v3 and package Explorer
 
Similar Threads
getting names of child classes
what is wrong with this code ?
Editor does not contain a main type
Looking for someone to help me change a .class file in a .jar file
I'm having trouble managing my files in Eclipse