@Test public void testStart() { cyActivator.start(bundleContext); }
public void start(BundleContext bc) { CySwingApplication cytoscapeDesktopService = getService(bc,CySwingApplication.class); MyControlPanel myControlPanel = new MyControlPanel(); ControlPanelAction controlPanelAction = new ControlPanelAction(cytoscapeDesktopService,myControlPanel); registerService(bc,myControlPanel,CytoPanelComponent.class, new Properties()); registerService(bc,controlPanelAction,CyAction.class, new Properties()); }
CyActivator extends AbstractCyActivator { public void start(BundleContext bc) { CySwingApplication cytoscapeDesktopService = getService(bc,CySwingApplication.class); MyControlPanel myControlPanel = new MyControlPanel(); ControlPanelAction controlPanelAction = new ControlPanelAction(cytoscapeDesktopService,myControlPanel); registerService(bc,myControlPanel,CytoPanelComponent.class, new Properties()); registerService(bc,controlPanelAction,CyAction.class, new Properties()); } }
CyActivator extends AbstractCyActivator { public void start(BundleContext bc) { CySwingApplication cytoscapeDesktopService = getService(bc,CySwingApplication.class); MyControlPanel myControlPanel = new MyControlPanel(); ControlPanelAction controlPanelAction = new ControlPanelAction(cytoscapeDesktopService,myControlPanel); registerService(bc,myControlPanel,CytoPanelComponent.class, new Properties()); registerService(bc,controlPanelAction,CyAction.class, new Properties()); } CyActivator(); }
CyActivator extends AbstractCyActivator { public void start(BundleContext bc) { CySwingApplication cytoscapeDesktopService = getService(bc,CySwingApplication.class); MyControlPanel myControlPanel = new MyControlPanel(); ControlPanelAction controlPanelAction = new ControlPanelAction(cytoscapeDesktopService,myControlPanel); registerService(bc,myControlPanel,CytoPanelComponent.class, new Properties()); registerService(bc,controlPanelAction,CyAction.class, new Properties()); } CyActivator(); void start(BundleContext bc); }
CyActivator extends AbstractCyActivator { public void start(BundleContext bc) { CySwingApplication cytoscapeDesktopService = getService(bc,CySwingApplication.class); MyControlPanel myControlPanel = new MyControlPanel(); ControlPanelAction controlPanelAction = new ControlPanelAction(cytoscapeDesktopService,myControlPanel); registerService(bc,myControlPanel,CytoPanelComponent.class, new Properties()); registerService(bc,controlPanelAction,CyAction.class, new Properties()); } CyActivator(); void start(BundleContext bc);  }