use of org.cytoscape.phenomescape.internal.listeners.LoadMouseNetworkMenuAction 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);
}
Aggregations