Interface SessionManager

All Known Implementing Classes:
MainFrame

public interface SessionManager
Manages the session objects.
See Also:
Session
  • Method Details

    • getActiveSession

      Session getActiveSession()
      Returns the current active session.
      Returns:
      the current active session.
    • isSessionActive

      boolean isSessionActive()
      Returns true, if a session is active.
      Returns:
      true, if a session is active.
    • getSessionsIterator

      Iterator<Session> getSessionsIterator()
      Returns an iterator over all sessions.
      Returns:
      an iterator over all sessions.
    • addSession

      void addSession​(Session es)
      Adds the given session to the list of sessions.
      Parameters:
      es - the new session to add.
    • addSessionListener

      void addSessionListener​(SessionListener sl)
      Adds a SelectionListener.
    • fireSessionDataChanged

      void fireSessionDataChanged​(Session session)
      Called, if the session or data (except graph data) in the session have been changed.
    • closeSession

      boolean closeSession​(Session es)
      Removes the given session from the list of sessions.
      Parameters:
      es - the session to remove from the list.
    • removeSessionListener

      void removeSessionListener​(SessionListener sl)
      Removes a SelectionListener.