Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to detect if a View has been selected?
How to detect if a View has been selected? [message #449372] Thu, 11 May 2006 11:01 Go to next message
Eclipse UserFriend
Originally posted by: juavizga.hotmail.com

How can I detecte if a view has the focus or not, I mean is it possible to know what is the current active view ?


Thanks.
Re: How to detect if a View has been selected? [message #449389 is a reply to message #449372] Thu, 11 May 2006 14:14 Go to previous message
Eclipse UserFriend
You can add a PartListener to your IWorkbenchPage.
The listener will tell you whenever a view is activated.

Regards,
Stefan

juavizga juavizga schrieb:
> How can I detecte if a view has the focus or not, I mean is it possible to know what is the current active view ?
>
>
> Thanks.
Previous Topic:closing editor when isDirty() == true
Next Topic:My new wizard disappeared switching from 3.11 to 3.2RC2
Goto Forum:
  


Current Time: Sun Aug 31 16:47:12 EDT 2025

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

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

Back to the top