[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Nov 1 23:44:34 UTC 2006


gordonp
Wed Nov  1 18:44:34 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv853/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	MobyServicesGUI.java 
Log Message:
Multiline the input data type tooltip, rather than truncate it
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyServicesGUI.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyServicesGUI.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyServicesGUI.java	2006/10/27 20:55:14	1.5
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyServicesGUI.java	2006/11/01 23:44:34	1.6
@@ -1214,8 +1214,11 @@
 	    submenu = new JMenu("Services for " + objectLabel);
 	    assignMenuDataIndex(submenu);
 	}
-
-	submenu.setToolTipText("Input data: " + desc);
+	desc = "Input data: " + desc;
+	if(desc.length() > MAX_SERVICE_DESC_LEN){
+	    desc = htmlifyToolTipText(desc);
+	}
+	submenu.setToolTipText(desc);
 	submenu.setName(SERVICE_SUBMENU_NAME);
 	return submenu;
     }




More information about the MOBY-guts mailing list