Search in sources :

Example 1 with LoadHumanNetworkMenuAction

use of org.cytoscape.phenomescape.internal.listeners.LoadHumanNetworkMenuAction in project PhenomeScape by soulj.

the class CyActivator method start.

@Override
public void start(BundleContext context) throws Exception {
    CyServiceRegistrar cyServiceRegistrar = getService(context, CyServiceRegistrar.class);
    CyApplicationManager cyApplicationManager = getService(context, CyApplicationManager.class);
    LoadHumanNetworkMenuAction loadHumanNetworkMenuAction = new LoadHumanNetworkMenuAction(cyApplicationManager, cyServiceRegistrar);
    LoadMouseNetworkMenuAction loadMouseNetworkMenuAction = new LoadMouseNetworkMenuAction(cyApplicationManager, cyServiceRegistrar);
    TableManager myTableManager = new TableManager(cyServiceRegistrar);
    Properties properties = new Properties();
    registerAllServices(context, loadHumanNetworkMenuAction, properties);
    registerAllServices(context, loadMouseNetworkMenuAction, properties);
    CyTableManager cyTableManager = getService(context, CyTableManager.class);
    ControlPanel myControlPanel = new ControlPanel(cyServiceRegistrar, cyTableManager);
    registerService(context, myControlPanel, CytoPanelComponent.class, properties);
    ResultsPanel myResultsPanel = new ResultsPanel(cyServiceRegistrar);
    registerService(context, myResultsPanel, CytoPanelComponent.class, properties);
}
Also used : CyApplicationManager(org.cytoscape.application.CyApplicationManager) CyTableManager(org.cytoscape.model.CyTableManager) LoadMouseNetworkMenuAction(org.cytoscape.phenomescape.internal.listeners.LoadMouseNetworkMenuAction) TableManager(org.cytoscape.phenomescape.internal.util.TableManager) CyTableManager(org.cytoscape.model.CyTableManager) Properties(java.util.Properties) CyServiceRegistrar(org.cytoscape.service.util.CyServiceRegistrar) LoadHumanNetworkMenuAction(org.cytoscape.phenomescape.internal.listeners.LoadHumanNetworkMenuAction)

Aggregations

Properties (java.util.Properties)1 CyApplicationManager (org.cytoscape.application.CyApplicationManager)1 CyTableManager (org.cytoscape.model.CyTableManager)1 LoadHumanNetworkMenuAction (org.cytoscape.phenomescape.internal.listeners.LoadHumanNetworkMenuAction)1 LoadMouseNetworkMenuAction (org.cytoscape.phenomescape.internal.listeners.LoadMouseNetworkMenuAction)1 TableManager (org.cytoscape.phenomescape.internal.util.TableManager)1 CyServiceRegistrar (org.cytoscape.service.util.CyServiceRegistrar)1