Cancel ViewPart closing [message #464573] |
Fri, 09 March 2007 13:51 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03793 seconds