Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Getting "tab" or views
Getting "tab" or views [message #478787] Thu, 06 August 2009 21:27 Go to next message
Leonardo is currently offline LeonardoFriend
Messages: 1
Registered: July 2009
Junior Member
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 19:01 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Wed Sep 18 21:35:43 GMT 2024

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

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

Back to the top