[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
How to get the actual Editor of a MultiPageEditorPart from outside ?
|
- From: tom_doehler@xxxxxx (Tom Döhler)
- Date: Wed, 14 Aug 2002 09:18:47 +0000 (UTC)
- Newsgroups: eclipse.tools
- Organization: http://www.eclipse.org
- User-agent: NewsPortal 0.23
Hi,
I need to get the active (inner-) Editor of a MultiPageEditorPart. There
ise a Method getActiveEditor(), but this is protected and I need to call
it from "outside".
What I want to do is to extend eclipse with multiple clipboards.
For a TextEditor everything works fine, because i can call
editor.getDocumentProvider().getDocument(...) and document.replace(...)
for the opaste action. But for the multipageeditorpart it doesn't work,
because of the protected scope of the getActiveEditor() - method ...
How can I get around this?
Thank you, bye Tom