org.dftproject.genesis.core.research
Class ResearchListenerAdapter

java.lang.Object
  extended by org.dftproject.genesis.core.research.ResearchListenerAdapter
All Implemented Interfaces:
IResearchListener

public class ResearchListenerAdapter
extends java.lang.Object
implements IResearchListener

A research listener that provides default implementations for the methods described by the IResearchListener interface.

Classes that wish to receive research notifications can extend this class and override only the methods which they are interested in.


Constructor Summary
ResearchListenerAdapter()
           
 
Method Summary
 void familyAdded(TaskFamily family)
          Notification that the given family has been added.
 void familyCanceled(TaskFamily family)
          Notification that the given family has been canceled.
 void familyRemoved(TaskFamily family)
          Notification that the given family has been removed.
 void familyUpdated(TaskFamily family)
          Notification that the given family has been updated.
 void objectiveAdded(Objective objective)
          Notification that the given objective has been added.
 void objectiveCanceled(Objective objective)
          Notification that the given objective has been canceled.
 void objectiveRemoved(Objective objective)
          Notification that the given objective has been removed.
 void taskAdded(Task task)
          Notification that the given task has been added.
 void taskCanceled(Task task)
          Notification that the given task has been canceled.
 void taskRemoved(Task task)
          Notification that the given task has been removed.
 void taskUpdated(Task task)
          Notification that the given task has been updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResearchListenerAdapter

public ResearchListenerAdapter()
Method Detail

objectiveAdded

public void objectiveAdded(Objective objective)
Description copied from interface: IResearchListener
Notification that the given objective has been added.

Specified by:
objectiveAdded in interface IResearchListener
Parameters:
objective - the objective

objectiveCanceled

public void objectiveCanceled(Objective objective)
Description copied from interface: IResearchListener
Notification that the given objective has been canceled.

Specified by:
objectiveCanceled in interface IResearchListener
Parameters:
objective - the objective

objectiveRemoved

public void objectiveRemoved(Objective objective)
Description copied from interface: IResearchListener
Notification that the given objective has been removed.

Specified by:
objectiveRemoved in interface IResearchListener
Parameters:
objective - the objective

familyAdded

public void familyAdded(TaskFamily family)
Description copied from interface: IResearchListener
Notification that the given family has been added.

Specified by:
familyAdded in interface IResearchListener
Parameters:
family - the family

familyUpdated

public void familyUpdated(TaskFamily family)
Description copied from interface: IResearchListener
Notification that the given family has been updated.

Specified by:
familyUpdated in interface IResearchListener
Parameters:
family - the family

familyCanceled

public void familyCanceled(TaskFamily family)
Description copied from interface: IResearchListener
Notification that the given family has been canceled.

Specified by:
familyCanceled in interface IResearchListener
Parameters:
family - the family

familyRemoved

public void familyRemoved(TaskFamily family)
Description copied from interface: IResearchListener
Notification that the given family has been removed.

Specified by:
familyRemoved in interface IResearchListener
Parameters:
family - the family

taskAdded

public void taskAdded(Task task)
Description copied from interface: IResearchListener
Notification that the given task has been added.

Specified by:
taskAdded in interface IResearchListener
Parameters:
task - the task

taskUpdated

public void taskUpdated(Task task)
Description copied from interface: IResearchListener
Notification that the given task has been updated.

Specified by:
taskUpdated in interface IResearchListener
Parameters:
task - the task

taskCanceled

public void taskCanceled(Task task)
Description copied from interface: IResearchListener
Notification that the given task has been canceled.

Specified by:
taskCanceled in interface IResearchListener
Parameters:
task - the task

taskRemoved

public void taskRemoved(Task task)
Description copied from interface: IResearchListener
Notification that the given task has been removed.

Specified by:
taskRemoved in interface IResearchListener
Parameters:
task - the task