File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse v3 and package Explorer

 
Susan
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17645
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Susan
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1071
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Window/Preferences/Java/Appearance/compress all package name segments
 
Steven Bell
Ranch Hand
Posts: 1071
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learn something new everyday.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic