Robert Konigsberg wrote:
This question is similar to my prior question about opening up
StructuredTextEditor. In this case, what I'd like to do is add a popup
menu item so I may add a "Show In" submenu. (Show in Package Explorer
would be more than enough.)
Of course, my first thought is to figure out how to extend STE and
found the private method abstractTextEditorContextMenuAboutToShow. OK,
it's private.
I'm hoping someone might be able to save me from once again
considering between an enhancement request and/or duplicating
StructuredTextEditor.
That looks like a standard org.eclipse.ui.popupMenus extension to add a
menu using the
"org.eclipse.core.runtime.xml.source.EditorContext" context.
--
Nitin Dahyabhai
Structured Source Editor