[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Fri Dec 7 20:31:42 UTC 2007


gordonp
Fri Dec  7 15:31:42 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv2465/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	MobyServicesGUI.java 
Log Message:
Removed commented-out code
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyServicesGUI.java,1.11,1.12
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyServicesGUI.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyServicesGUI.java	2007/06/08 14:04:27	1.11
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyServicesGUI.java	2007/12/07 20:31:41	1.12
@@ -531,12 +531,6 @@
     }
 
     public void removePopupOptions(Object source){
-// 	if(source instanceof JPopupMenu){
-// 	    logger.debug("Getting rid of " + source);
-// 	    ((JPopupMenu) source).setVisible(false);
-// 	    ((JPopupMenu) source).removeAll();
-// 	    lastPopup = null;
-// 	}
 	removePopupOptions();
     }
 
@@ -667,15 +661,6 @@
     }
 
     protected synchronized void addServicesToSubMenu(JMenu submenu, MobyDataServiceAssocInstance msadi, MobyRequestEventHandler handler){
-	// Before we go any further, determine the invoking Frame for the popup action, 
-	// because we may need it for a dialog later
-	// getRootFrame(popupList);
-	//if(submenu2msIndex != null && submenu != null && !submenu2msIndex.containsKey(submenu)){
-	//    logger.warn("Cannot add service options, cannot find " +
-	//		"moby object list index for menu " + 
-	//		submenu.getText());
-	//    return;
-	//}
 	// Fill in the data slot assigned for this submenu with the service assoc. Moby Object
 	int dataIndex = 0;
 	boolean isSubSubMenu = false;
@@ -723,9 +708,6 @@
 	if(unsortedServices.length > MAX_SERVICES_PER_SUBMENU){
 	    subDivided = true;
 
-	    //System.err.println("Subdividing services for item " + msadi + 
-	    //		   ", it has " + unsortedServices.length + " items");
-
 	    // Make smaller lists based on service ontology
 	    MobyServiceType[][] serviceLineages = new MobyServiceType[unsortedServices.length][];
 	    int maxOntologyDepth = 0;




More information about the MOBY-guts mailing list