@@ -35,35 +35,9 @@ public void start(BundleContext context) throws Exception {
3535 networkViewManager = getService (context , CyNetworkViewManager .class );
3636 serviceRegistrar = getService (context , CyServiceRegistrar .class );
3737
38-
39- /* ******SupervisedComplexTaskFactory clusterFactory= new SupervisedComplexTaskFactory();
40-
41- //TODO re-enable
42- //GenModelTaskFactory modelFactory = new GenModelTaskFactory();
43-
44- //Set service properties
45- Properties clusterFactoryProperties = new Properties();
46- clusterFactoryProperties.setProperty("preferredMenu", "Apps.SCODE");
47- clusterFactoryProperties.setProperty("title","Analyze Network"); ************/
48-
49- /* TODO This option is disabled because a network only appears once the session file is reloaded.
50- Properties genNetworkProperties = new Properties();
51- genNetworkProperties.setProperty("preferredMenu", "Apps.Supervised Complex");
52- genNetworkProperties.setProperty("title", "Generate Default Model");
53- */
54-
5538 //Set up tabbed panel in Control Panel
5639 CySwingApplication cytoscapeDesktopService = getService (context ,CySwingApplication .class );
5740
58- /*
59- MyControlPanel myControlPanel = new MyControlPanel();
60- ControlPanelAction controlPanelAction = new ControlPanelAction(cytoscapeDesktopService,myControlPanel);
61-
62- registerService(context,myControlPanel,CytoPanelComponent.class, new Properties());
63- registerService(context,controlPanelAction,CyAction.class, new Properties());
64- */
65- //register services
66- //registerService(context, clusterFactory, NetworkTaskFactory.class, clusterFactoryProperties);
6741
6842 CyApplicationManager appManager = getService (context , CyApplicationManager .class );
6943
@@ -82,8 +56,6 @@ public void start(BundleContext context) throws Exception {
8256 closeTaskFactoryProps .setProperty ("menuGravity" ,"2.0" );
8357
8458 registerService (context , closeTaskFactory , TaskFactory .class , closeTaskFactoryProps );
85-
86- //TODO re-enable when cytoscape bug is fixed
87- //registerService(context, modelFactory, NetworkTaskFactory.class,genNetworkProperties);
59+
8860 }
8961}
0 commit comments