Package org.cytoscape.task
Class AbstractNetworkViewTask
- java.lang.Object
-
- org.cytoscape.work.AbstractTask
-
- org.cytoscape.task.AbstractNetworkViewTask
-
- All Implemented Interfaces:
Task
public abstract class AbstractNetworkViewTask extends AbstractTask
The base class for all tasks that need to operate on a network view.Module:
core-task-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>core-task-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
-
-
Field Summary
Fields Modifier and Type Field Description protected CyNetworkView
view
The network view that descendants of this class will operate on.-
Fields inherited from class org.cytoscape.work.AbstractTask
cancelled
-
-
Constructor Summary
Constructors Constructor Description AbstractNetworkViewTask(CyNetworkView view)
A base class for tasks that need to operate on a network view.
-
Method Summary
-
Methods inherited from class org.cytoscape.work.AbstractTask
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, run, setTaskIterator
-
-
-
-
Field Detail
-
view
protected final CyNetworkView view
The network view that descendants of this class will operate on.
-
-
Constructor Detail
-
AbstractNetworkViewTask
public AbstractNetworkViewTask(CyNetworkView view)
A base class for tasks that need to operate on a network view.- Parameters:
view
- must be a non-empty network view for descendants to operate on
-
-