Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to get current perspective ID
How to get current perspective ID [message #240236] Tue, 11 May 2004 07:30 Go to next message
Eclipse User
Originally posted by: MZ.whitehouse.org

Please tell, how to get current opened perspective ID.
Thanks
Re: How to get current perspective ID [message #240325 is a reply to message #240236] Tue, 11 May 2004 08:56 Go to previous message
Eclipse User
Originally posted by: sagivijay.yahoo.com

Hi,
You can use
getSite().getPage().getPerspective().getId().

You should be able to get a handle to the site for any workbench part.
MZ wrote:

> Please tell, how to get current opened perspective ID.
> Thanks
Previous Topic:starting eclipse with right parameters
Next Topic:i want eclipse plug-in that will alert me during conflicts using winCVS
Goto Forum:
  


Current Time: Fri Aug 22 13:58:43 EDT 2014

Powered by FUDForum. Page generated in 0.02053 seconds