how 2 access perspectives, views programatically. [message #514] |
Mon, 21 April 2003 03:38 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03628 seconds