Bug 427049 - [Navigator] Support shortened name styles in Navigator views.
Summary: [Navigator] Support shortened name styles in Navigator views.
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 15:41 EST by Miles Parker CLA
Modified: 2014-02-04 10:13 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 Miles Parker CLA 2014-01-30 15:41:28 EST
The navigator/package/project explorers take up a lot of room in the workbench, especially as we have important info like Gerrit Branch as part of the text decorations . It's also quite difficult to scan the list for what's different in the names. Here's a proposal for improving that:

Give user an option to select a shortened names label provider. That would use the short hand we're all used to, e.g. given the following set of projects:

org.eclipse.mylyn.commons.core
org.eclipse.mylyn.commons.ui
org.eclipse.mylyn.commons.net
org.eclipse.mylyn.commons.workbench
org.eclipse.mylyn.discovery.core
org.eclipse.mylyn.discovery.ui
org.eclipse.mylyn.tasks.core
org.eclipse.mylyn.tasks.ui

"depth 3" would change the presentation to:

o.e.m.commons.core
o.e.m.commons.ui
o.e.m.commons.net
o.e.m.commons.workbench
o.e.m.discovery.core
o.e.m.discovery.ui
o.e.m.tasks.core
o.e.m.tasks.ui

and you might even have an option to filter them out (or present hierarchically), e.g.:

commons.core
commons.ui
commons.net
commons.workbench
discovery.core
discovery.ui
tasks.core
tasks.ui

Especially if it were easy to toggle the affordance.

This wouldn't be as useful for short/diverse project structures (like platform, jdt...) but for working with projects like "org.springframework.ide.eclipse.." it would save a lot of space / visual garbage (120px by my calculation).

It's possible I could come up w/ a patch if folks thought this might be useful and have a decent chance of making it in. We're getting pretty late in the cycle this year, tho..