Class Display.SessionManagerListener
java.lang.Object
org.eclipse.swt.widgets.Display.SessionManagerListener
- All Implemented Interfaces:
SessionManagerDBus.IListener
- Enclosing class:
Display
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAre you ready to exit? Time limit imposed by session manager is 1 second.voidstop()Perform final cleanup here.
-
Field Details
-
parent
Display parent
-
-
Constructor Details
-
SessionManagerListener
-
-
Method Details
-
isReadyToExit
public boolean isReadyToExit()Description copied from interface:SessionManagerDBus.IListenerAre you ready to exit? Time limit imposed by session manager is 1 second. Final cleanup should happen in stop().- Specified by:
isReadyToExitin interfaceSessionManagerDBus.IListener- Returns:
- false to hint that you're not ready. Session manager can ignore the hint.
-
stop
public void stop()Description copied from interface:SessionManagerDBus.IListenerPerform final cleanup here. Please note that time limit imposed by session manager is 10 seconds.- Specified by:
stopin interfaceSessionManagerDBus.IListener
-