Package org.cytoscape.task
Class AbstractEdgeViewTask
- java.lang.Object
-
- org.cytoscape.work.AbstractTask
-
- org.cytoscape.task.AbstractEdgeViewTask
-
- All Implemented Interfaces:
Task
public abstract class AbstractEdgeViewTask extends AbstractTask
The base class for all tasks that need to operate on an edge view and possibly its associated 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 View<CyEdge>
edgeView
The edge view that descendant tasks will operate on.protected CyNetworkView
netView
The network view associated withedgeView
.-
Fields inherited from class org.cytoscape.work.AbstractTask
cancelled
-
-
Constructor Summary
Constructors Constructor Description AbstractEdgeViewTask(View<CyEdge> edgeView, CyNetworkView netView)
Base constructor for all tasks that need an edge view to operate on.
-
Method Summary
-
Methods inherited from class org.cytoscape.work.AbstractTask
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, run, setTaskIterator
-
-
-
-
Field Detail
-
netView
protected final CyNetworkView netView
The network view associated withedgeView
.
-
-
Constructor Detail
-
AbstractEdgeViewTask
public AbstractEdgeViewTask(View<CyEdge> edgeView, CyNetworkView netView)
Base constructor for all tasks that need an edge view to operate on.- Parameters:
edgeView
- the edge view to work with for this tasknetView
- the network view that contains "edgeView"
-
-