Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Breadcrumb Questions
Breadcrumb Questions [message #517600] Mon, 01 March 2010 13:50 Go to next message
Catalin Gerea is currently offline Catalin GereaFriend
Messages: 89
Registered: July 2009
Location: Bucharest, Romania
Member

1. How is the breadcrumb displayed for a java file? It is a composite that has images and text dynamically updated depending on the position in the java file? Or it is displayed in another way: e.g. a toolbar?

2. How can I create my own custom breadcrumb? Can I create one for a tree (e.g. add a breadcrumb to the package explorer)?

Thanks for any info regarding the breadcrumb.


Time is what you make of it.
Re: Breadcrumb Questions [message #517604 is a reply to message #517600] Mon, 01 March 2010 14:09 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Catalin,

Maybe you can use PDE Spy to answer this yourself:
http://www.eclipse.org/pde/incubator/spy/

Catalin Gerea wrote:
> 1. How is the breadcrumb displayed for a java file? It is a composite
> that has images and text dynamically updated depending on the position
> in the java file? Or it is displayed in another way: e.g. a toolbar?
>
> 2. How can I create my own custom breadcrumb? Can I create one for a
> tree (e.g. add a breadcrumb to the package explorer)?
>
> Thanks for any info regarding the breadcrumb.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Breadcrumb Questions [message #517605 is a reply to message #517600] Mon, 01 March 2010 14:19 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Catalin Gerea wrote:
> 1. How is the breadcrumb displayed for a java file? It is a composite
> that has images and text dynamically updated depending on the position
> in the java file? Or it is displayed in another way: e.g. a toolbar?
Start by looking at the classes in
org.eclipse.jdt.internal.ui.javaeditor.breadcrumb.
>
> 2. How can I create my own custom breadcrumb? Can I create one for a
> tree (e.g. add a breadcrumb to the package explorer)?
You you cannot add this to other views. Only if you implement the view
or editor yourself. There's also no API to (re-) use the existing
breadcrumb code.

Dani
>
> Thanks for any info regarding the breadcrumb.
Previous Topic:Associate file-extension to 2 diff content-types based on file name patterns
Next Topic:EFS and IProject
Goto Forum:
  


Current Time: Thu Apr 25 11:48:45 GMT 2024

Powered by FUDForum. Page generated in 0.03427 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top