| [news.eclipse.modeling.tmf] Re: Where/How does one add new context menu actions for the Editor? |
Same as any other , first you need to derive your onw editor from
XtextEditor and do the injectable thing in plugin.xml then ..
protected void editorContextMenuAboutToShow(IMenuManager menu) {
super.editorContextMenuAboutToShow(menu);
// add your actions here
}
"drew" <drew@xxxxxxx> wrote in message
news:h8dr74$hju$1@xxxxxxxxxxxxxxxxxxxx
>
>