:: com :: sun :: star :: frame ::
|
unpublished |
interface XTerminateListener2 |
|
|
- Base Interfaces
XTerminateListener2
┗ XTerminateListener
┗ ::com::sun::star::lang::XEventListener
XTerminateListener |
- (referenced interface's summary:)
- has to be provided if an object wants to receive an event
when the master environment (e.g., desktop) is terminated.
|
|
- Usage Restrictions
- not published
- Description
- extend interface XTerminateListener so a listener will be informed
in case termination process was cancelled by other reasons.
|
Methods' Summary |
cancelTermination |
is called when the master environment (e.g., desktop) was cancelled in
it's terminate request.
|
Methods' Details |
cancelTermination
- Description
- is called when the master environment (e.g., desktop) was cancelled in
it's terminate request.
Termination can be intercepted by throwing TerminationVetoException.
But if a listener was queried for termination .. doesnt throwed a veto exception ...
it doesnt know if termination will be real next time.
Because any other listener can throw those exception too ... and so it can happen
that after queryTermination() no notifyTermination() will occure. But these listener
doesnt know if its allowed to start new processes then.
Using this optional(!) interface will make it possible to be informed about
cancelled termination requests also.
- Parameter Event
- describe the source of the event (e.g., the desktop)
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.