|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CySessionManager
This class primarily acts as a listener and tracks the state of
the Cytoscape application. This state can be interrogated at any
time and the result is an immutable CySession
object suitable
for serialization. Likewise, setting a new session will replace
the current session with a new one.
Method Summary | |
---|---|
CySession |
getCurrentSession()
This method returns a CySession object describing the current
state of Cytoscape. |
String |
getCurrentSessionFileName()
Returns the name of the current session file. |
void |
setCurrentSession(CySession session,
String fileName)
This method allows a new session to be set and in doing so erases and overrides the current session! |
Method Detail |
---|
CySession getCurrentSession()
CySession
object describing the current
state of Cytoscape. The object returned is meant to
be used for serialization and is not meant to be used interactively
to track the state of Cytsocape.
void setCurrentSession(CySession session, String fileName)
session
- The new session to be applied to Cytoscape.fileName
- The name of the file representing the new session.String getCurrentSessionFileName()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |