|Re: IToggleBreakpointsTarget.toggleLineBreakpoints not called [message #516110]
||Mon, 22 February 2010 19:02
| Nitin Dahyabhai
Registered: July 2009
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.
Eclipse WTP Source Editing
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.01451 seconds