xml - How to redefine help listener for StructuredTextEditor -


we developing eclipse plugin project. using structuredtexteditor displaying xml data. integrating our documentation via standard eclipse system. structuredtexteditor not working. example:

composite parent;  ...  parent.addhelplistener(new helplistener()    {    @override   public void helprequested(helpevent e)   {     esbdevelopmentplugin.showhelp(help_id);   }    });  parent.setfocus(); 

for text editors call sethelpcontextid method set context id.

note structuredtexteditor sets id in initializeeditor method must set id after this, perhaps overriding method:

@override protected void initializeeditor() {   super.initializeeditor();    // set after 'super' call   sethelpcontextid("your id"); } 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -