Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Getting "tab" or views
Getting "tab" or views [message #478787] Thu, 06 August 2009 17:27 Go to next message
Eclipse UserFriend
Hi, is there a way to get all the "tabs" that are open, in my rcp
application?

I have a view and that view have a TextViewer, but I have no problems with
that, I can get those views.

The problem is that I have 2 pluggins running in my application, those are
UML2 and JUCM. Those pluggins have some files opened and those are the
"tabs" that I want to get. The purpose of this is to close them later
programmatically.

Thanks in advance.



//Sorry for my english.
Re: Getting "tab" or views [message #479373 is a reply to message #478787] Mon, 10 August 2009 15:01 Go to previous message
Eclipse UserFriend
You need to use the methods on org.eclipse.ui.IWorkbenchPage to find open views and/or open editors (like org.eclipse.ui.IWorkbenchPage.findEditors(IEditorInput, String, int))

PW
Previous Topic:Using the same Eclipse application on Linux/Windows/Mac... (was "Headless build on Windows usin
Next Topic:Modifying
Goto Forum:
  


Current Time: Fri Jun 13 23:19:44 EDT 2025

Powered by FUDForum. Page generated in 0.04394 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top