public final class CyShutdownEvent extends AbstractCyEvent<Object>
| Constructor and Description |
|---|
CyShutdownEvent(Object source)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortShutdown(String why)
A callback to the firing class that allows a listener to
abort the shutdown.
|
String |
abortShutdownReason()
Returns the reason that the application should not be shut down.
|
boolean |
actuallyShutdown()
Returns true if no reason is provided to abort the shutdown and false
if anyone processing this event wants to prevent shutdown.
|
getListenerClass, getSourcepublic CyShutdownEvent(Object source)
source - The object firing this event.public void abortShutdown(String why)
why - A user comprehensible message describing why the shutdown
was aborted.public String abortShutdownReason()
public boolean actuallyShutdown()
Copyright 2011 Cytoscape Consortium. All rights reserved.