Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How do I get notified when user closes my perspective?
How do I get notified when user closes my perspective? [message #489819] Tue, 06 October 2009 06:53 Go to next message
Prasanna K is currently offline Prasanna KFriend
Messages: 78
Registered: July 2009
Member
Hi all,

User can right click my perspective's name in the top-right corner toolbar and select close to close my plug-in's perspective.
What interface should I implement so that I get to know when such an event occurs?

Did several Google and newsgroup searches but didn't find any help.

Thanks.
Re: How do I get notified when user closes my perspective? [message #489822 is a reply to message #489819] Tue, 06 October 2009 07:14 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
kaprasi wrote:
> Hi all,
>
> User can right click my perspective's name in the top-right corner
> toolbar and select close to close my plug-in's perspective.
> What interface should I implement so that I get to know when such an
> event occurs?
See: org.eclipse.ui.IPerspectiveListener3.

Dani
>
> Did several Google and newsgroup searches but didn't find any help.
>
> Thanks.
Re: How do I get notified when user closes my perspective? [message #489844 is a reply to message #489822] Tue, 06 October 2009 08:45 Go to previous message
Prasanna K is currently offline Prasanna KFriend
Messages: 78
Registered: July 2009
Member
Quote:




Thanks.

-[P]-
http://twitter.com/kaprasanna
Previous Topic:epl-1
Next Topic:When to add resource markers?
Goto Forum:
  


Current Time: Sat Dec 20 09:49:39 GMT 2014

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

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