org.formaria.editor.visualizer
Class VisualiserProjectListener

java.lang.Object
  extended by org.formaria.editor.visualizer.VisualiserProjectListener
All Implemented Interfaces:
ProjectListener

public class VisualiserProjectListener
extends java.lang.Object
implements ProjectListener

Copyright (c) Formaria Ltd., 2001-2006, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.


Constructor Summary
VisualiserProjectListener()
           
 
Method Summary
 void checkProject(EditorProject proj)
          Check the project
 void projectInitialized(EditorProject project)
          Notification of project initialized.
 void projectLoaded(EditorProject project)
          Notification of a project load
 void projectUpdated(EditorProject project)
          Update to reflect the new project state
 void resetProject(java.lang.String moduleName, EditorProject proj)
          Inform a project that it should reset any object references it has stored
 void saveDataModel()
          Saves the project's model to datasources files.
 void saveProject(EditorProject project)
          Notification the project is being saved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualiserProjectListener

public VisualiserProjectListener()
Method Detail

projectInitialized

public void projectInitialized(EditorProject project)
Notification of project initialized.

Specified by:
projectInitialized in interface ProjectListener
Parameters:
project - the editor project just initialized

projectLoaded

public void projectLoaded(EditorProject project)
Description copied from interface: ProjectListener
Notification of a project load

Specified by:
projectLoaded in interface ProjectListener
Parameters:
project - the editor project just loaded

projectUpdated

public void projectUpdated(EditorProject project)
Description copied from interface: ProjectListener
Update to reflect the new project state

Specified by:
projectUpdated in interface ProjectListener

saveProject

public void saveProject(EditorProject project)
Description copied from interface: ProjectListener
Notification the project is being saved

Specified by:
saveProject in interface ProjectListener
Parameters:
project - the editor project to save

checkProject

public void checkProject(EditorProject proj)
Description copied from interface: ProjectListener
Check the project

Specified by:
checkProject in interface ProjectListener
Parameters:
proj - the editor project to check

resetProject

public void resetProject(java.lang.String moduleName,
                         EditorProject proj)
Description copied from interface: ProjectListener
Inform a project that it should reset any object references it has stored

Specified by:
resetProject in interface ProjectListener
Parameters:
moduleName - the name of the module that caused/required the reload
proj - the editor project to check

saveDataModel

public void saveDataModel()
Saves the project's model to datasources files. This method is being called from the saveProject of ProjectListener interface.