|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.genesis.core.research.ResearchManager
public class ResearchManager
The ResearchManager manages a list of research objectives.
| Method Summary | |
|---|---|
void |
addListener(IResearchListener listener)
Adds a listener. |
void |
addObjective(Objective objective)
Adds an objective. |
protected void |
familyAdded(TaskFamily family)
Notifies the listeners that the given task family has been added to an objective. |
protected void |
familyCanceled(TaskFamily family)
Notifies the listeners that the given task family (which belongs to an objective) has been canceled. |
protected void |
familyRemoved(TaskFamily family)
Notifies the listeners that the given task family (which belongs to an objective) has been removed. |
protected void |
familyUpdated(TaskFamily family)
Notifies the listeners that the given task family (which belongs to an objective) has been updated. |
static ResearchManager |
getDefault()
Returns the singleton ResearchManager instance. |
java.util.Set<Objective> |
getObjectives()
Returns the set of objectives. |
protected void |
objectiveAdded(Objective objective)
Notifies the listeners that the given objective has been added. |
protected void |
objectiveCanceled(Objective objective)
Notifies the listeners that the given objective has been canceled. |
protected void |
objectiveRemoved(Objective objective)
Notifies the listeners that the given objective has been removed. |
void |
removeListener(IResearchListener listener)
Adds a listener. |
protected void |
removeObjective(Objective objective)
Removes an objective |
protected void |
taskAdded(Task task)
Notifies the listeners that the given task has been added to a task family which belongs to an objective. |
protected void |
taskCanceled(Task task)
Notifies the listeners that the given task (which belongs to a task family which belongs to an objective) has been canceled. |
protected void |
taskRemoved(Task task)
Notifies the listeners that the given task (which belongs to a task family which belongs to an objective) has been removed. |
protected void |
taskUpdated(Task task)
Notifies the listeners that the given task (which belongs to a task family which belongs to an objective) has been updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResearchManager getDefault()
public void addObjective(Objective objective)
objective - the objectiveprotected void removeObjective(Objective objective)
objective - the objectivepublic java.util.Set<Objective> getObjectives()
public void addListener(IResearchListener listener)
listener - the listenerpublic void removeListener(IResearchListener listener)
listener - the listenerprotected void objectiveAdded(Objective objective)
objective - the objectiveprotected void objectiveCanceled(Objective objective)
objective - the objectiveprotected void objectiveRemoved(Objective objective)
objective - the objectiveprotected void familyAdded(TaskFamily family)
family - the task familyprotected void familyUpdated(TaskFamily family)
family - the task familyprotected void familyCanceled(TaskFamily family)
family - the task familyprotected void familyRemoved(TaskFamily family)
family - the task familyprotected void taskAdded(Task task)
task - the taskprotected void taskUpdated(Task task)
task - the taskprotected void taskCanceled(Task task)
task - the taskprotected void taskRemoved(Task task)
task - the task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||