Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » open view in specisfic perspective
open view in specisfic perspective [message #291115] Thu, 08 September 2005 12:33 Go to next message
Eclipse UserFriend
Originally posted by: dcorbin.machturtle.com

Is it possible to show a view in a specifid perspective that is not the
current one?
Re: open view in specisfic perspective [message #291116 is a reply to message #291115] Thu, 08 September 2005 12:57 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

David Corbin wrote:
> Is it possible to show a view in a specifid perspective that is not the
> current one?

Do you mean programatically? I don't think so. I've seen
IWorkbenchPage#showView(...) to show a view, but it's tied to the
perspective of that workbench page.

I know you can use an extension to add a view to an already existing
perspective. i.e. adding your plugin's new view to the Resource
perspective.

Later,
PW


Re: open view in specisfic perspective [message #291148 is a reply to message #291116] Fri, 09 September 2005 11:01 Go to previous message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

You might have to switch to the perspective manually first, then do the show view. I suspect it's done with the IWorkbenchPage#setPerspective but have never tried this myself.

http://help.eclipse.org/help30/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/ui/IWorkbenchPage.html#setPe rspective(org.eclipse.ui.IPerspectiveDescriptor)

Once that perspective is shown, you should be able to invoke showView.
Previous Topic:Internationalization of eclipse plugins.
Next Topic:Eclipse plugin-in strange problems
Goto Forum:
  


Current Time: Fri Apr 26 03:52:31 GMT 2024

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

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

Back to the top