Search in sources :

Example 1 with NetworkSelectionLinker

use of edu.ucsf.rbvi.clusterMaker2.internal.ui.NetworkSelectionLinker in project clusterMaker2 by RBVI.

the class ClusterManagerImpl method linkNetworkSelection.

public void linkNetworkSelection(CyNetwork network) {
    if (isLinked(network))
        return;
    CyRootNetwork rootNetwork = ((CySubNetwork) network).getRootNetwork();
    CyEventHelper helper = serviceRegistrar.getService(CyEventHelper.class);
    NetworkSelectionLinker linker = new NetworkSelectionLinker(rootNetwork, helper, this);
    registerService(linker, RowsSetListener.class, new Properties());
    linkedNetworks.put(rootNetwork, linker);
}
Also used : CyEventHelper(org.cytoscape.event.CyEventHelper) NetworkSelectionLinker(edu.ucsf.rbvi.clusterMaker2.internal.ui.NetworkSelectionLinker) Properties(java.util.Properties) CySubNetwork(org.cytoscape.model.subnetwork.CySubNetwork) CyRootNetwork(org.cytoscape.model.subnetwork.CyRootNetwork)

Aggregations

NetworkSelectionLinker (edu.ucsf.rbvi.clusterMaker2.internal.ui.NetworkSelectionLinker)1 Properties (java.util.Properties)1 CyEventHelper (org.cytoscape.event.CyEventHelper)1 CyRootNetwork (org.cytoscape.model.subnetwork.CyRootNetwork)1 CySubNetwork (org.cytoscape.model.subnetwork.CySubNetwork)1