[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Find view in a different perspective

Daniel Megert wrote:
Paul Webster wrote:
The IWorkbenchPage will only return views from the visible perspective, not the inactive ones.

There is no way to find that information
There is, see: org.eclipse.ui.IWorkbenchPage.getOpenPerspectives()

That will give me descriptors for the open perspectives, but it won't allow me to run findView(*) on them and get an IViewPart.


My "not the inactive ones" was for the views, not the perspectives :-)

PW


-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm