Contributing RulerDoubleClick action to nested text editor [message #335863] |
Wed, 06 May 2009 10:03  |
Eclipse User |
|
|
|
I have a code editor nested in a FormEditor. I want to enable
double-click -> toggle breakpoint.
In a non-multipage editor, it seems that I could do this using
o.e.ui.editorActions, specifying the targetID to match the editor ID.
Then my action would declare its action ID as RulerDoubleClick. But in
the nested case, I can't really specify the nested editor ID.
I'm able to register the ToggleBreakpointAction programmatically, but
I'd prefer not to have to touch the nested editor, or put a debug.ui
dependency on it.
Any suggestions on how to contribute this action from my debug plugin,
declaratively or otherwise?
Cheers
Ben
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08702 seconds