public final class SessionAboutToBeSavedEvent extends AbstractCyEvent<CySessionManager>
CySessionManagerat beginning of the
CySessionManager.getCurrentSession()method. The intent is to allow listeners to provide information to this event object or to update their state before that state is interrogated by the CySessionManager.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>session-api</artifactId> </dependency>
|Constructor and Description|
|Modifier and Type||Method and Description|
A method that allows apps to specify a list of files that should be stored in the session.
This method is not meant to be used by listeners for this event, although you can and no harm should come to you.
appName- The name of the app that these files should be stored for.
files- The list of File objects to be stored in the session file.
CySessionManagerto retrieve the list of files from apps.
Copyright 2011 Cytoscape Consortium. All rights reserved.