Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: 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 canceled by other reasons.

Methods' Summary
cancelTermination | is called when the master environment (e.g., desktop) was canceled in it's terminate request.

Methods' Details
cancelTermination
void
cancelTermination( | [in] ::com::sun::star::lang::EventObject | Event );
Description is called when the master environment (e.g., desktop) was canceled in it's terminate request. Termination can be intercepted by throwing TerminationVetoException. But if a listener was queried for termination .. doesn't throw a veto exception ... it doesn't 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 occur. But these listener don't know if its allowed to start new processes then. Using this optional(!) interface will make it possible to be informed about canceled termination requests also. Parameter Event describe the source of the event (e.g., the desktop)

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.