|Core Expression: activeEditor adapts to ITextEditor [message #511075]
||Fri, 29 January 2010 17:26
Originally posted by: thorsten.vitt.uni-wuerzburg.de|
I am trying to enable a handler if the active editor adapts to
ITextEditor. I'm using this expression:
This works fine for editors that actually implement ITextEditor.
However, the handler remains inactive for MultiPageEditorParts that have
an ITextEditor as a child, although programmatically calling
getAdapter(ITextEditor.class) on them works fine (there's code in
MultiPageEditorPart.getAdapter() that cares for that).
What am I doing wrong?
Thanks for any help,
Powered by FUDForum
. Page generated in 0.01973 seconds