(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: frame ::

unpublished interface XSessionManagerClient
Usage Restrictions
not published
Description
Connect to a session manager to get information about pending desktop shutdown

Methods' Summary
addSessionManagerListener addSessionManagerListener registers a listener for session management events  
removeSessionManagerListener removeSessionManagerListener deregisters a listener for session events  
queryInteraction queryInteraction issues a request for a user interaction slot from the session manager  
interactionDone interactionDone is called when a listener has finished user interaction  
saveDone saveDone signals that a listener has processed a save request  
cancelShutdown Call cancelShutdown to try to cancel a desktop shutdown in progress  
Methods' Details
addSessionManagerListener
[oneway] void
addSessionManagerListener( [in] XSessionManagerListener  xListener );

Description
addSessionManagerListener registers a listener for session management events
Parameter xListener
listener for session management events
See also
XSessionManagerListener, XSessionManagerClient::removeSessionManagerListener()
removeSessionManagerListener
[oneway] void
removeSessionManagerListener( [in] XSessionManagerListener  xListener );

Description
removeSessionManagerListener deregisters a listener for session events
Parameter xListener
listener to be removed
See also
XSessionManagerListener, XSessionManagerClient::addSessionManagerListener()
queryInteraction
[oneway] void
queryInteraction( [in] XSessionManagerListener  xListener );

Description
queryInteraction issues a request for a user interaction slot from the session manager
Parameter xListener
the listener requesting user interaction
See also
XSessionManagerListener
interactionDone
[oneway] void
interactionDone( [in] XSessionManagerListener  xListener );

Description
interactionDone is called when a listener has finished user interaction
Parameter xListener
the listener done with user interaction
See also
XSessionManagerListener
saveDone
[oneway] void
saveDone( [in] XSessionManagerListener  xListener );

Description
saveDone signals that a listener has processed a save request
Parameter listener
the listener having finished save request processing
See also
XSessionManagerListener
cancelShutdown
boolean
cancelShutdown();

Description
Call cancelShutdown to try to cancel a desktop shutdown in progress
Returns
true if shutdown was canceled, false else.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.