Find all currently open instances of a view [message #318084] |
Fri, 20 July 2007 09:17 |
Eclipse User |
|
|
|
Originally posted by: robert.handschmann.gmx.at
Hi!
I cannot find the proper method that returns all currently open
windows/instances of a view.
I'm looking for a method that finds the currently open views by its
primary id
like:
IViewPart[] findOpenViews("com.xy.MyView");
Any hints?
Thanx, Robert
|
|
|
|
Re: Find all currently open instances of a view [message #318264 is a reply to message #318172] |
Tue, 24 July 2007 09:20 |
Eclipse User |
|
|
|
Originally posted by: robert.handschmann.gmx.at
Hi!
Yes it is a multi-instance view.
I currently use a loop over IViewReferences returned by
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().getViewReferences()
and search for the proper ID.
Greetings,
Robert
|
|
|
Powered by
FUDForum. Page generated in 0.02682 seconds