|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskManager<T,C>
Executes the Tasks found in the TaskIterator provided by a TaskFactory.
Method Summary | |
---|---|
void |
execute(TaskIterator iterator)
This method is called to execute the Tasks in a TaskIterator provided by a TaskFactory . |
T |
getConfiguration(TaskFactory factory,
Object tunableContext)
Returns a configuration object generated from the Tunables read from the TaskFactory. |
void |
setExecutionContext(C context)
Allows a user of a TaskManager to set the execution context for the task, for example the parent Window of a dialog or the top-level menu for menu generation. |
Method Detail |
---|
T getConfiguration(TaskFactory factory, Object tunableContext)
factory
- The TaskFactory that will be scanned for Tunables.
void setExecutionContext(C context)
context
- The object to serve as the execution context for the TaskManager.void execute(TaskIterator iterator)
TaskFactory
.
This method returns once the Task
s derived from the TaskIterator
returned by the TaskFactory
's createTaskIterator()
method have
started (but not necessarily completed) execution.
It does not wait for the Task
s to finish.
factory
- The TaskFactory
whose tasks returned by its createTaskIterator()
method's iterator will be executed
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |