Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to add Breakpoints in editor through outline view in eclipse?
How to add Breakpoints in editor through outline view in eclipse? [message #329540] Fri, 27 June 2008 13:06 Go to next message
Eclipse UserFriend
Originally posted by: parulseth.gmail.com

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.

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
Re: How to add Breakpoints in editor through outline view in eclipse? [message #329681 is a reply to message #329540] Tue, 01 July 2008 10:06 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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
>
>
>
Re: How to add Breakpoints in editor through outline view in eclipse? [message #329699 is a reply to message #329681] Tue, 01 July 2008 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: parulseth.gmail.com

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..:).


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
>>
>>
>>
Re: How to add Breakpoints in editor through outline view in eclipse? [message #329729 is a reply to message #329699] Wed, 02 July 2008 08:05 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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
>>>
>>>
>>>
>
>
Previous Topic:No Workspace Launcher w/o -clean
Next Topic:How to listen for "Javadoc location" change
Goto Forum:
  


Current Time: Sat Jul 13 00:31:19 GMT 2024

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

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

Back to the top