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 11:30 Go to next message
Eclipse UserFriend
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 12:56 Go to previous message
Eclipse UserFriend
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 Nov 28 04:49:37 GMT 2014

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

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