|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dftproject.genesis.core.research.Task
public abstract class Task
A task.
| Constructor Summary | |
|---|---|
Task(TaskFamily family)
Creates a task in the given task family. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels this task. |
protected void |
finished()
Called when this task completes. |
abstract java.lang.String |
getDescription()
Returns the description of this task. |
TaskFamily |
getFamily()
Returns this tasks's family. |
java.lang.String |
getFullDescription()
Returns the full description of this task (including the subtask or canceled status). |
abstract org.eclipse.swt.graphics.Image |
getIcon()
Returns the icon of this task. |
boolean |
isCanceled()
Returns whether or not this task has been canceled. |
abstract void |
run()
The execution of this task. |
void |
start()
Starts this task. |
void |
subTask(java.lang.String subTask)
Sets this task's subtask description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Task(TaskFamily family)
family - a task family| Method Detail |
|---|
public TaskFamily getFamily()
public void start()
public void cancel()
public void subTask(java.lang.String subTask)
subTask - subtask descriptionpublic boolean isCanceled()
protected void finished()
public java.lang.String getFullDescription()
public abstract java.lang.String getDescription()
public abstract org.eclipse.swt.graphics.Image getIcon()
public abstract void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||