public class SubnetworkCreationTask
extends org.cytoscape.work.AbstractTask
implements org.cytoscape.work.swing.RequestsUIHelper
Modifier and Type | Field and Description |
---|---|
boolean |
keepoldLinks |
SubNetworkProperties |
params |
static String |
subnetworkNameSeparator |
Constructor and Description |
---|
SubnetworkCreationTask(org.cytoscape.service.util.CyServiceRegistrar reg,
NetworkViewSwitcher nvs,
IDARESettingsManager ism)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isempty(org.cytoscape.model.CyRow row,
String ColName)
Check whether the entry of Column ColName in CyRow row is empty.
|
static boolean |
isempty(Object Entry)
Check whether a given Object is either empty or an empty String
|
void |
run(org.cytoscape.work.TaskMonitor arg0) |
void |
setLinkNodeVisualProperties(Collection<DelayedVizProp> props,
org.cytoscape.model.CyNode node) |
void |
setUIHelper(org.cytoscape.work.swing.TunableUIHelper arg0) |
public static final String subnetworkNameSeparator
public SubNetworkProperties params
public boolean keepoldLinks
public SubnetworkCreationTask(org.cytoscape.service.util.CyServiceRegistrar reg, NetworkViewSwitcher nvs, IDARESettingsManager ism)
reg
- a CyServiceRegistrar
to obtain necessary services fromnvs
- The NetworkViewSwitcher
to add the linker information toism
- the Settings Manager to obtain and NodeIDs and property data..public void run(org.cytoscape.work.TaskMonitor arg0) throws Exception
run
in interface org.cytoscape.work.Task
run
in class org.cytoscape.work.AbstractTask
Exception
public void setLinkNodeVisualProperties(Collection<DelayedVizProp> props, org.cytoscape.model.CyNode node)
public static boolean isempty(org.cytoscape.model.CyRow row, String ColName)
row
- - The row in questionColName
- - the Column to check.public static boolean isempty(Object Entry)
Entry
- the Object to checkpublic void setUIHelper(org.cytoscape.work.swing.TunableUIHelper arg0)
setUIHelper
in interface org.cytoscape.work.swing.RequestsUIHelper
Copyright © 2018. All rights reserved.