Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how 2 access perspectives, views programatically.
how 2 access perspectives, views programatically. [message #514] Mon, 21 April 2003 03:38 Go to next message
Eclipse UserFriend
Originally posted by: pradheept.hotmail.com

hi
i am in need accessing perspectives programatically. kindly send sample
code reg. this.

problem.
From an action set/menu action i have to open a perspective and in that
perspective
i have 2 load a view say xyView. how 2 do that.

thanx in advance.

regards
PraDheeP
Re: how 2 access perspectives, views programatically. [message #2884 is a reply to message #514] Tue, 22 April 2003 15:42 Go to previous message
Eclipse UserFriend
Originally posted by: gsrt.terra.com.br

Hi PraDheep,

Try

IWorkbench work = PlatFormUI.getWorkbench();
work.showPerspective(PERSP_ID, work.getActiveWorkbenchWindow());
work.getActiveWorkbenchWindow().getActivePage().showView(VIE W_ID);

[]s
Glauco Reis

pradheep wrote:

> hi
> i am in need accessing perspectives programatically. kindly send sample
> code reg. this.
>
> problem.
> From an action set/menu action i have to open a perspective and in that
> perspective
> i have 2 load a view say xyView. how 2 do that.
>
> thanx in advance.
>
> regards
> PraDheeP
Previous Topic:Unable to locate matching org.apache.xerces plugin.
Next Topic:[Howto] [jface] open an editor from within a Wizard?
Goto Forum:
  


Current Time: Sat Jul 13 19:30:37 GMT 2024

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

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

Back to the top