Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Open another perspective from already open perspective
Open another perspective from already open perspective [message #782196] Mon, 23 January 2012 10:27 Go to next message
marie Missing name is currently offline marie Missing nameFriend
Messages: 63
Registered: March 2011
Member
Hi,

Is there any way where i can open a new perspective from already open perspective without using Open Perspective bar?
Re: Open another perspective from already open perspective [message #800167 is a reply to message #782196] Thu, 16 February 2012 19:26 Go to previous message
Nikolai Raitsev is currently offline Nikolai RaitsevFriend
Messages: 102
Registered: July 2009
Senior Member
Yes,

just call

something like that:

PlatformUI.getWorkbench().showPerspective(YOUR_PERSPECTIVE_TO_OPEN.ID,
PlatformUI.getWorkbench().getActiveWorkbenchWindow());

in your action. The current perspective will switch to
YOUR_PERSPECTIVE_TO_OPEN.

Best regards,

Nikolai



Am 23.01.2012 11:27, schrieb marie Mising name:
> Hi,
>
> Is there any way where i can open a new perspective from already open
> perspective without using Open Perspective bar?
>
Previous Topic:Open another perspective from already open perspective
Next Topic:labels are not updated
Goto Forum:
  


Current Time: Fri Jun 02 22:32:02 GMT 2023

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

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

Back to the top