Hi,
I try to integrate several editors into one multipage editor.
For example, for Mylyn TaskEditor:
1. Create editor instance
editor = new TaskEditor();
2. Init task editor (editor site take from myMultipageEditor)
editor.init(getEditor().getEditorSite(), getTaskEditorInput());
3. Create ui to my own composite
editor.createPartControl(composite);
It works well, but..
The main problem is that myMultipageEditor doesn't have an ActionBarContributor, but TaskEditor have. And when I init TaskEditor java.lang.IllegalArgumentException occurs because getActionBarContributor() == null
MultiPageEditor have capability to add IEditorPart as page, but problem became the same.
And I have a question. How I can create IEditorSite so that editor works in background?
Or it's bad idea to combine several editors in one?
Thanks,
Dmitriy