Bug 317752 - [JFace] JFace should provide Breadcrumb as widget
Summary: [JFace] JFace should provide Breadcrumb as widget
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows Vista
: P3 enhancement with 8 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 341231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-23 17:27 EDT by Hemant Singh CLA
Modified: 2015-03-12 09:35 EDT (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hemant Singh CLA 2010-06-23 17:27:19 EDT
Build Identifier: M20090917-0800

In eclipse 3.4 the Breadcrumb was introduced in the Java Editor.
This is an excellent feature, and there is already lot of other defects opened for requesting this feature in other editors like PHP (bug#263420), XSLT(259051) and Generic XML editor(293650).
It will be great if this feature can be provided as standard eclipse component which can be used by the eclipse plug-in developers, because as of now, we are ending up copying the Eclipse breadcrumb internal code to provide this feature, and I am sure nobody like to go with this approach because of obvious pitfalls down the line.


Reproducible: Always

Steps to Reproduce:
This is request for new feature.
Comment 1 Prakash Rangaraj CLA 2010-06-24 00:12:06 EDT
Currently JDT has the breadcrumbs. I'll move the bug there to decide, whether to make it as an API or not
Comment 2 Dani Megert CLA 2010-06-30 10:59:50 EDT
Platform UI (JFace not SWT) has to decide whether they want to offer this. Of course we (JDT) will help if the decision is positive.
Comment 3 Hitesh CLA 2010-07-05 08:43:26 EDT
(In reply to comment #2)
> Platform UI (JFace not SWT) has to decide whether they want to offer this. Of
> course we (JDT) will help if the decision is positive.

See Bug 262846.
IMHO,Breadcrumb widget and Token viewer have quite a bit of overlap. And, as such the two could very well be a single widget. Also, on a side note, 'viewer' seems like a misnomer for such a widget.
Comment 4 Dani Megert CLA 2011-03-29 10:07:12 EDT
*** Bug 341231 has been marked as a duplicate of this bug. ***
Comment 5 Robert Kiss CLA 2011-07-21 06:38:11 EDT
There is another Breadcrumb viewer inside debug plugin that looks very similar with this one.

We would like to use the Breadcrumb in our application but of course we would not like to refer the internal classes. Who knows, maybe we make the change ourselves and contribute it back.
Comment 6 Jens Reimann CLA 2012-11-05 06:10:00 EST
We tried to use the breadcrumb viewer in openSCADA. Yet we stumbled over the issue that the breadcrumb viewer uses ITreePathContentProvider instead of ITreeContentProvider. Also the ITreeContentProvider requires the viewer instance to be a subclass of AbstractTreeViewer. So we use a different approach now.

Still we extracted the breadcrumb viewer and made an external bundle out of it which is available on github: https://github.com/ctron/org.openscada.ui.breadcrumbs