Community
Participate
Working Groups
Here's the setup (release F3) I am using the PDE. I have two types of multi-page editors. - launch the runtime and open one of each type. - shut down the runtime - launch the runtime again - switch from the active editor to the other one - the call from the workbench into my action bar contributor sends a null for the IEditorPart - this only happens the first time the active editor is switched after the runtime launches. - I suspect that the lazy creation of the editor part is just a might too lazy. Either that or the bench is calling me a bit too soon.
setActiveEditor should never be passed null.
Sorry, you mentioned setActivePage, not setActiveEditor.
I tested this in 20020920 with a fragment project and a PDE project and could not replicate.