Community
Participate
Working Groups
Build Identifier: Breadcrumb navigation in JDT editor is very useful for navigation while saving screen real estate. I would like to use same feature in my project and I can see this feature is useful in many places. Unfortunately breadcrumb classes and APIs are in JDT UI internal packages which makes it hard to reuse or extend outside JDT. For example, I find that the debug breadcrumb is similar with java editor breadcrumb but not able to extend Java editor breadcrumb directly. Please consider to make breadcrumb infrastructure public and extensible. Reproducible: Always
(In reply to comment #0) > Unfortunately breadcrumb classes and > APIs are in JDT UI internal packages which makes it hard to reuse or extend > outside JDT. For example, I find that the debug breadcrumb is similar with java > editor breadcrumb but not able to extend Java editor breadcrumb directly. Are you actually trying to _extend_ the breadcrumb in the Java editor to add stuff to the Java editor's breadcrumb or do you just want to add a breadcrumb viewer to your own view/editor?
Also see bug 317752.
(In reply to comment #1) > (In reply to comment #0) > > Unfortunately breadcrumb classes and > > APIs are in JDT UI internal packages which makes it hard to reuse or extend > > outside JDT. For example, I find that the debug breadcrumb is similar with java > > editor breadcrumb but not able to extend Java editor breadcrumb directly. > > Are you actually trying to _extend_ the breadcrumb in the Java editor to add > stuff to the Java editor's breadcrumb or do you just want to add a breadcrumb > viewer to your own view/editor? No, I don't intent to add more stuff on Java editor breadcrumb. Instead, add a breadcrumb viewer in my own view. JDT editor breadcrumb is fairly generic in most part (except some Java editor specific behavior), ie, IBreadcrumb, BreadcrumbViewer, BreadcrumbItemDetails, BreadcrumbItemDropDown etc. By setting specific content provider, label provider or event listeners, these infrastructure could be reused or extended. Therefore, it would be nice to refactor the common part out and move to common place.
You want bug 317752 then. *** This bug has been marked as a duplicate of bug 317752 ***