Cytoscape 3.1.1 API

org.cytoscape.task.create
Interface NewNetworkSelectedNodesAndEdgesTaskFactory

All Superinterfaces:
NetworkTaskFactory

public interface NewNetworkSelectedNodesAndEdgesTaskFactory
extends NetworkTaskFactory

This interface provides a task iterator for creating networks from selected nodes and edges.


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.

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>

Method Summary
 TaskIterator createTaskIterator(CyNetwork network)
          Returns a TaskIterator that creates a new network from the selected nodes and edges in the given network.
 
Methods inherited from interface org.cytoscape.task.NetworkTaskFactory
isReady
 

Method Detail

createTaskIterator

TaskIterator createTaskIterator(CyNetwork network)
Returns a TaskIterator that creates a new network from the selected nodes and edges in the given network. The given observer will be notified once the new network is complete.

Specified by:
createTaskIterator in interface NetworkTaskFactory
Parameters:
network - The network whose selected nodes and edges should be used in the new network.
Returns:
a TaskIterator that creates a new network from the selected nodes and edges in the given network.

Cytoscape 3.1.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.