public interface StringToModel
Module: command-executor-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>command-executor-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
List<CyEdge> |
getEdgeList(CyNetwork net,
String edgelist)
Convert a string request for a edgelist into a list of
CyEdge s. |
CyNetwork |
getNetwork(String strNet)
Convert a string request for a network into a
CyNetwork . |
List<CyNode> |
getNodeList(CyNetwork net,
String nodelist)
Convert a string request for a nodelist into a list of
CyNode s. |
List<CyRow> |
getRowList(CyTable table,
String rowlist)
Convert a string request for a rowlist into a list of
CyRow s. |
CyTable |
getTable(String strTable)
Convert a string request for a table into a
CyTable . |
static final String _CY_NETWORK_DESC
static final String _CY_LIST_DESC
static final String _CY_ROW_DESC
static final String CY_NETWORK_LONG_DESCRIPTION
static final String CY_NETWORK_EXAMPLE_STRING
static final String TABLE_LONG_DESCRIPTION
static final String ROW_LONG_DESCRIPTION
static final String COLUMN_LONG_DESCRIPTION
static final String VALUE_LONG_DESCRIPTION
static final String ROW_EXAMPLE
static final String COLUMN_EXAMPLE
static final String VALUE_EXAMPLE
static final String TABLE_TITLE_LONG_DESCRIPTION
static final String TABLE_TITLE_EXAMPLE
static final String KEY_TYPE_LONG_DESCRIPTION
static final String KEY_TYPE_EXAMPLE
static final String CY_NODE_LIST_LONG_DESCRIPTION
static final String CY_NODE_LIST_EXAMPLE_STRING
static final String CY_EDGE_LIST_LONG_DESCRIPTION
static final String CY_EDGE_LIST_EXAMPLE_STRING
static final String CY_ROW_LIST_LONG_DESCRIPTION
static final String GROUP_NAME_LONG_DESCRIPTION
static final String GROUP_NAME_EXAMPLE_STRING
static final String GROUP_NAME_EXAMPLE_STRING2
static final String GROUP_LIST_LONG_DESCRIPTION
static final String GROUP_LIST_EXAMPLE_STRING
CyNetwork getNetwork(String strNet)
CyNetwork
. This method
may be used to find a network with a given name or the current network.
Future implementations might accept other columns to search on.strNet
- the name of the network to return or "current"CyTable getTable(String strTable)
CyTable
. This method
may be used to find a table with a given name or the current table.
Future implementations might accept other columns to search on.strTable
- the name of the table to return or "current"List<CyNode> getNodeList(CyNetwork net, String nodelist)
CyNode
s. This
method may be used to find selected nodes, or nodes matching a particular column
by using the pattern "column:value". If no column is specified, it is assumed
that the column is the NAME column. No wildcarding or regular expression matching
is supported at this time. The following special keywords are also recognized:
all return all nodes in this network
selected return all selected nodes in this network
unselected return all unselected nodes in this networknet
- the CyNetwork to search through. If null, use the current networknodelist
- the string representing the nodelistList<CyEdge> getEdgeList(CyNetwork net, String edgelist)
CyEdge
s. This
method may be used to find selected edges, or edges matching a particular column
by using the pattern "column:value". If no column is specified, it is assumed
that the column is the NAME column. No wildcarding or regular expression matching
is supported at this time. The following special keywords are also recognized:
all return all edges in this network
selected return all selected edges in this network
unselected return all unselected edges in this networknet
- the CyNetwork to search through. If null, use the current networkedgelist
- the string representing the edgelistList<CyRow> getRowList(CyTable table, String rowlist)
CyRow
s. This
method may be used to find all rows, or rows matching a particular column
by using the pattern "column:value". If no column is specified, it is assumed
that the column is the NAME column. No wildcarding or regular expression matching
is supported at this time. The following special keywords are also recognized:
all return all edges in this networktable
- the CyTable to search through.rowlist
- the string representing the rowlistCopyright 2011-2015 Cytoscape Consortium. All rights reserved.