@@ -0,0 +1,730 @@
+package gvs.ui.application.model;%0A%0Aimport gvs.interfaces.ISessionController;%0A%0Aimport java.util.Observable;%0A%0A/**%0A * Holds the model of the current session%0A * %0A * @author aegli%0A *%0A */%0Apublic class ApplicationModel extends Observable %7B%0A%0A%09private ISessionController sessionController = null;%0A%0A%09/**%0A%09 * Builds an instance of the application model%0A%09 *%0A%09 */%0A%09public ApplicationModel() %7B%0A%0A%09%7D%0A%0A%09/**%0A%09 * Sets currently requested session%0A%09 * %0A%09 * @param sc%0A%09 */%0A%09public void setSession(ISessionController sc) %7B%0A%09%09this.sessionController = sc;%0A%09%09setChanged();%0A%09%09notifyObservers();%0A%09%7D%0A%0A%09/**%0A%09 * Returns current session, which is held by the model%0A%09 * %0A%09 * @return%0A%09 */%0A%09public ISessionController getSession() %7B%0A%09%09return sessionController;%0A%09%7D%0A%7D%0A

add ui.application.model. spellcheck docs