Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.service.project.internal
Class AbstractProjectService

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.service.project.internal.AbstractProjectService
All Implemented Interfaces:
ProjectService
Direct Known Subclasses:
ProjectServiceImpl

public abstract class AbstractProjectService
extends Object
implements ProjectService

Abstract base implementation for project services

Author:
Simon Templer

Constructor Summary
AbstractProjectService()
           
 
Method Summary
 void addListener(ProjectServiceListener listener)
          Adds a project service listener
protected  void notifyAfterLoad(Map<String,ProjectFile> projectFiles)
          Call after a project was loaded.
protected  void notifyBeforeSave(Map<String,ProjectFile> projectFiles)
          Call before a project is saved.
protected  void notifyClean()
          Call when the project is cleaned.
 void removeListener(ProjectServiceListener listener)
          Removes a project service listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.ui.service.project.ProjectService
clean, executeAndRemember, getConfigurationService, getProjectInfo, isChanged, load, open, rememberIO, removeResources, save, saveAs, setChanged
 

Constructor Detail

AbstractProjectService

public AbstractProjectService()
Method Detail

addListener

public void addListener(ProjectServiceListener listener)
Description copied from interface: ProjectService
Adds a project service listener

Specified by:
addListener in interface ProjectService
Parameters:
listener - the listener to add
See Also:
ProjectService.addListener(ProjectServiceListener)

removeListener

public void removeListener(ProjectServiceListener listener)
Description copied from interface: ProjectService
Removes a project service listener

Specified by:
removeListener in interface ProjectService
Parameters:
listener - the listener to remove
See Also:
ProjectService.removeListener(ProjectServiceListener)

notifyBeforeSave

protected void notifyBeforeSave(Map<String,ProjectFile> projectFiles)
Call before a project is saved.

Parameters:
projectFiles - the map of additional project files, listeners may add additional files to the map

notifyAfterLoad

protected void notifyAfterLoad(Map<String,ProjectFile> projectFiles)
Call after a project was loaded.

Parameters:
projectFiles - the additional project files that were loaded, listeners may use them to update their state

notifyClean

protected void notifyClean()
Call when the project is cleaned.


Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d