[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: How to add Breakpoints in editor through outline view in eclipse?

Parul Seth wrote:
Hi Daniel

Thanks a lot for replying!

Its an Ant script.

But I am now able to add breakpoints through outline view. I did this by adding a popup menu to my outline view (i.e having an implementation of ContentOutlinePage). Then I added a toggle breakpoint action to this pop menu which had a ViewActionDelegate class in this I instantiated ToggleLineBreakpointAction class (which implements IToggleBreakpointsTarget which recognizes outline view and processes the selection and creates the appropriate breakpoint).

I will definately be happy to know if there is a different way to do the same.

Please do help me regarding the Hover thing in editor (which says press F2 for focus. I am still not able to work that out..:).
See SourceViewerConfiguration#getTextHover(ISourceViewer, String)

Dani


Regards
Parul Seth
Impetus Infotech India Pvt. Ltd.

"Do your duty at your best, leave unto thy God the rest"



Daniel Megert wrote:

Parul Seth wrote:
Hi

Can anyone please tell me how can we add breakpoints through the outline view programmatically? I have an XML editor whose outline is shown on the outline view (with the help of my EditorContentoutlinePage) and I want to add breakpoints through its content outline.
I am able to add a popup menu on the outline i.e Toggle Breakpoint but it is not working.
Is this an Ant script or do you have your own language that runs some XML files?

Dani

Also I want to implement Show Tooltip description in my xml editor (the one which says press F2 for focus), kindly tell me how to get this feature!



Please Help!!!


Regards Parul Seth