Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » IToggleBreakpointsTarget.toggleLineBreakpoints not called
IToggleBreakpointsTarget.toggleLineBreakpoints not called [message #515796] Sat, 20 February 2010 23:02 Go to next message
Enduro Opus is currently offline Enduro OpusFriend
Messages: 2
Registered: July 2009
Junior Member
I've an own editor plug-in and wanted to add breakpoints.

I added the required 'org.eclipse.runtime.adapters' extension.
My 'IAdapterFactory' class returns an 'IToggleBreakpointsTarget ' which 'canToggleLineBreakpoints' method is called (and returns true) when I double click my editors ruler (so i guess all works successful up to this point), but the 'toggleLineBreakpoints' is not called.

Note: 'toggleLineBreakpoints' method is called and breakpoints are toggled and visible e.g. if I use a popupMenu action.

My org.eclipse.core.runtime.adapter extension:
- adaptableType: <my editor ID>
- class: an IAdapterFactory (which returns an IToggleBreakpointsTarget)
- adapter type: org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

[Updated on: Sun, 21 February 2010 11:15]

Report message to a moderator

Re: IToggleBreakpointsTarget.toggleLineBreakpoints not called [message #516111 is a reply to message #515796] Mon, 22 February 2010 14:08 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

On 2/20/2010 6:02 PM, Enduro Opus wrote:
> I've an own editor plug-in and wanted to add breakpoints.
>
> I added the required 'org.eclipse.runtime.adapters' extension.
> My 'IAdapterFactory' class returns an 'IToggleBreakpointsTarget ' which
> 'canToggleLineBreakpoints' method is called (and returns true) when I
> double click my editors ruler (so i guess all works successful up to
> this point), but the 'toggleLineBreakpoints' is not called.
>
> Note: 'canToggleLineBreakpoints' method is called and breakpoints are
> toggled and visible e.g. if I use a popupMenu action.
>
> My org.eclipse.core.runtime.adapter extension:
> - adaptableType: <my editor ID>
> - class: an IAdapterFactory (which returns an IToggleBreakpointsTarget)
> - adapter type: org.eclipse.debug.ui.actions.IToggleBreakpointsTarget

You might have better luck in the platform newsgroup.

--

Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:editor editor on fresh install of eclipse and php plugin
Next Topic:using phpDoc
Goto Forum:
  


Current Time: Fri Mar 29 00:28:22 GMT 2024

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

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

Back to the top