Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Cancel ViewPart closing
Cancel ViewPart closing [message #464573] Fri, 09 March 2007 13:51 Go to next message
Eclipse UserFriend
Originally posted by: mauricio.kanada.insyde.com.br

Hi.

I'm trying to adapt a complete system to RCP platform. In my first test I
need to listen the ViewPart closing events, and in condition specific
cancel them. I found how to listen the closing events, but not how cancel
them. Any help?

Thanks.

Maurício Kanada
Re: Cancel ViewPart closing [message #464680 is a reply to message #464573] Tue, 13 March 2007 15:09 Go to previous message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

The view might implement ISaveablePart2 in that case it will be
consulted calling promptToSaveOnClose method and if you return CANCEL it
will obey.
Mauricio Kanada wrote:
> Hi.
>
> I'm trying to adapt a complete system to RCP platform. In my first
> test I need to listen the ViewPart closing events, and in condition
> specific cancel them. I found how to listen the closing events, but
> not how cancel them. Any help?
>
> Thanks.
>
> Maurício Kanada
>
Previous Topic:Error while launching Application
Next Topic:update one view's model from another
Goto Forum:
  


Current Time: Mon Sep 16 20:06:25 GMT 2024

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

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

Back to the top