public class CreateNodesTaskFactory
extends org.cytoscape.work.AbstractTaskFactory
TaskFactory that initializes the generation of Imagenodes.| Constructor and Description |
|---|
CreateNodesTaskFactory(NodeManager nodeManager,
DataSetControlPanel builder,
org.cytoscape.work.swing.DialogTaskManager dtm)
Default constructor with a
TaskManager that can handle the created tasks, the NodeManager to generate the Layouts and
the DataSetControlPanel to obtain the layoutinformation from. |
| Modifier and Type | Method and Description |
|---|---|
org.cytoscape.work.TaskIterator |
createTaskIterator() |
void |
run(Set<DataSet> DataSetsToLayout,
ImageNodeLayout layout)
Run the task factory.
|
public CreateNodesTaskFactory(NodeManager nodeManager, DataSetControlPanel builder, org.cytoscape.work.swing.DialogTaskManager dtm)
TaskManager that can handle the created tasks, the NodeManager to generate the Layouts and
the DataSetControlPanel to obtain the layoutinformation from.nodeManager - the nodeManager for this factorybuilder - the control panel builder to usedtm - the Dialaogtaskmanager to usepublic void run(Set<DataSet> DataSetsToLayout, ImageNodeLayout layout)
DataSetsToLayout - The Datasets to layoutlayout - The node layout.public org.cytoscape.work.TaskIterator createTaskIterator()
Copyright © 2018. All rights reserved.