| [news.eclipse.technology.albireo] Re: Context Help in SwingControl |
Johannes Utzig wrote: ...
When I click back into the Swing Editor, the HelpView correctly invokes the handlePartActivation method.
In handlePartActivation, the following check is done:
Control c = display.getFocusControl(); if (c != null && c.isVisible() && !c.isDisposed())
In my case, display.getFocusControl returns null.
I am assuming, that is because the SwingControl passed the focus to the embedded swing editor and therefore no SWT control is focused.
See this bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221241
However, without a focused control, the help view refuses to update the help content and the only way to display the correct context is by closing it and pressing F1 again.
Am I doing anything wrong?
Nope :-)
Any hints on how to work around that?
Or is this more an issue with the code of the help view that I should post in another newsgroup?
Thanks in advance and best regards, Johannes