org.cytoscape.task
Interface NodeViewTaskFactory
- All Known Subinterfaces:
- SelectFirstNeighborsNodeViewTaskFactory, TunableNodeViewTaskFactory<T>
- All Known Implementing Classes:
- AbstractNodeViewTaskFactory
public interface NodeViewTaskFactory
The assumption is that setNodeView() will be called before
getTask() and that the Task in question operates on the
specified View<CyNode>.
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
createTaskIterator
TaskIterator createTaskIterator(View<CyNode> nodeView,
CyNetworkView networkView)
- Provisions this factory with the node view and its associated network view, both of
which will be passed into any task that will be created by this factory.
- Parameters:
nodeView - a non-null node viewnetView - the non-null network view associated with the node view
isReady
boolean isReady(View<CyNode> nodeView,
CyNetworkView networkView)
Copyright 2011 Cytoscape Consortium. All rights reserved.