[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IWorkbenchWindow#getPages

Hello,

when I used
aWorkbenchWindow.getPages()
before 2.0 I got got all the pages (perspectives) from a (active) workbench window.


Since 2.0 getPages() gets me only _one_ page (the at last started perspective) though there are many other perspectives open in that window.

I discovered a note at javadoc for IWorkbenchWindow#openPage: "Note: Since release 2.0, a window is limited to contain at most one page...". I don't understand how am I supposed to get _all_ perspectives from a workbench window now. How can a window limited to contain at most one page=perspective???

My Szenario: a workbench window has several perspectives opened, I want to get the java perspective, there the package viewer and look whats selected there. How to do that since 2.0?

Thank you,

Chris