| Breadcrumb Questions [message #517600] |
Mon, 01 March 2010 08:50  |
|
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 #517605 is a reply to message #517600] |
Mon, 01 March 2010 09:19  |
Dani Megert Messages: 3801 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.
|
|
|
Powered by
FUDForum. Page generated in 0.01551 seconds