public class NodeDuplicatorImpl
extends org.cytoscape.work.undo.AbstractCyEdit
implements org.cytoscape.work.Task
Constructor and Description |
---|
NodeDuplicatorImpl(org.cytoscape.model.CyNode OrigNode,
org.cytoscape.model.CyNetwork sourceNetwork,
org.cytoscape.service.util.CyServiceRegistrar reg,
boolean isundoable)
Default Constructor using a
CyNode with its associated CyNetwork along with a CyServiceRegistrar |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
redo() |
void |
run(org.cytoscape.work.TaskMonitor arg0) |
void |
undo() |
public NodeDuplicatorImpl(org.cytoscape.model.CyNode OrigNode, org.cytoscape.model.CyNetwork sourceNetwork, org.cytoscape.service.util.CyServiceRegistrar reg, boolean isundoable)
CyNode
with its associated CyNetwork
along with a CyServiceRegistrar
OrigNode
- The node to duplicatesourceNetwork
- the network in which the node is present.reg
- teh CyServiceRegistrar
to obtain services from.isundoable
- whether this task is undoable or not.Copyright © 2018. All rights reserved.