|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.genesis.core.research.Objective
public abstract class Objective
A research objective.
| Constructor Summary | |
|---|---|
Objective(ResearchManager manager)
Creates an objective for the given research manager |
|
| Method Summary | |
|---|---|
void |
addTaskFamily(TaskFamily family)
Adds the given task family to this objective. |
void |
cancel()
Cancels this objective and all task families working on it. |
protected void |
familyCanceled(TaskFamily family)
Called when the given task family is canceled. |
protected void |
familyUpdated(TaskFamily family)
Called when the given task family is updated. |
protected void |
finished()
Called when this objective has been canceled and has no more task families. |
abstract java.lang.String |
getDescription()
Returns this objective's description. |
abstract org.eclipse.swt.graphics.Image |
getIcon()
Returns this objective's icon. |
java.util.Set<TaskFamily> |
getTaskFamilies()
Returns the set of task families working on this objective. |
boolean |
isCanceled()
Returns whether or not this objective has been canceled. |
protected void |
removeTaskFamily(TaskFamily family)
Removes the given task family from this objective. |
protected void |
taskAdded(Task task)
Called when the given task is added to one of this objective's task families. |
protected void |
taskCanceled(Task task)
Called when the given task from one of this objective's task families is canceled. |
protected void |
taskRemoved(Task task)
Called when the given task from one of this objective's task families is removed. |
protected void |
taskUpdated(Task task)
Called when the given task from one of this objective's task families is updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Objective(ResearchManager manager)
manager - a research manager| Method Detail |
|---|
public void cancel()
public boolean isCanceled()
public java.util.Set<TaskFamily> getTaskFamilies()
public void addTaskFamily(TaskFamily family)
family - a task familyprotected void familyUpdated(TaskFamily family)
family - a task familyprotected void familyCanceled(TaskFamily family)
family - a task familyprotected void removeTaskFamily(TaskFamily family)
family - a task familyprotected void finished()
protected void taskAdded(Task task)
task - a taskprotected void taskCanceled(Task task)
task - a taskprotected void taskUpdated(Task task)
task - a taskprotected void taskRemoved(Task task)
task - a taskpublic abstract java.lang.String getDescription()
public abstract org.eclipse.swt.graphics.Image getIcon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||