public class CreateResultPanelTask
extends org.cytoscape.task.AbstractNetworkTask
implements org.cytoscape.work.ObservableTask
Constructor and Description |
---|
CreateResultPanelTask(PathLinkerControlPanel controlPanel,
org.cytoscape.model.CyNetwork network,
String title,
org.cytoscape.model.CyNetworkManager networkManager,
List<Algorithms.PathWay> results,
org.cytoscape.service.util.CyServiceRegistrar serviceRegistrar,
org.cytoscape.application.swing.CySwingApplication cySwingApp)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
<R> R |
getResults(Class<? extends R> type)
Get Result method
returns PathLinkerResultPanel instance created by the task
|
void |
run(org.cytoscape.work.TaskMonitor taskMonitor)
Creates the Result Panel
|
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, setTaskIterator
public CreateResultPanelTask(PathLinkerControlPanel controlPanel, org.cytoscape.model.CyNetwork network, String title, org.cytoscape.model.CyNetworkManager networkManager, List<Algorithms.PathWay> results, org.cytoscape.service.util.CyServiceRegistrar serviceRegistrar, org.cytoscape.application.swing.CySwingApplication cySwingApp)
controlPanel
- the PathLinkerControlPanelnetwork
- the networktitle
- the titlenetworkManager
- the network managerresults
- the result pathsserviceRegistrar
- the CyServiceRegistrarcySwingApp
- the CySwingApplicationpublic <R> R getResults(Class<? extends R> type)
getResults
in interface org.cytoscape.work.ObservableTask
Copyright © 2018. All rights reserved.