[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to get the actual Editor of a MultiPageEditorPart from outside ?

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