|
Re: Getting DOM Element from editor by line number only? [message #180920 is a reply to message #180428] |
Thu, 05 October 2006 17:26 |
|
Brian Jakubik wrote:
> I have the Editor, I have the IVerticalRulerInfo,
>
> I need to get the the DOM element for the line number, or the elment that
> spans the line number.
>
> Is this possible, how do I go about getting this
>
> Basically im trying to tie in the ruler and perform an action like toggle
> breakpoint, and need this info.
> Any help would be appreciated.
>
> Thanks in advance.
The provisional ISourceEditingTextTools interface can be found as an
adapter on the editor part. You'll have to cast the returned type
to the provisional IDOMSourceEditingTextTools interface to interact
with DOM objects. The
org.eclipse.wst.sse.ui.internal.debug.ToggleBreakpointAction class
might be of interest, just as an example.
--
- Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.02713 seconds