Author: ruschein
Date: 2010-07-23 14:29:39 -0700 (Fri, 23 Jul 2010)
New Revision: 21014

Modified:
   coreplugins/trunk/browser/src/browser/ui/BrowserTableCellRenderer.java
Log:
Removed cell entry tooltips.

Modified: coreplugins/trunk/browser/src/browser/ui/BrowserTableCellRenderer.java
===================================================================
--- coreplugins/trunk/browser/src/browser/ui/BrowserTableCellRenderer.java      
2010-07-23 21:29:30 UTC (rev 21013)
+++ coreplugins/trunk/browser/src/browser/ui/BrowserTableCellRenderer.java      
2010-07-23 21:29:39 UTC (rev 21014)
@@ -98,12 +98,6 @@
                        setText(displayText);
                }
 
-               // Set HTML style tooltip?
-               if (objectAndEditString != null)
-                       setToolTipText(getFormattedToolTipText(colName, 
objectAndEditString.getValidatedObject()));
-               else
-                       setToolTipText(null);
-
                // If selected, return
                if (isSelected) {
                        setFont(labelFont);
@@ -175,36 +169,6 @@
 
                return this;
        }
-
-       /**
-        * Returns organized & readable tooltip text.
-        * @param value
-        * @return
-        */
-       private String getFormattedToolTipText(final String colName, final 
Object value) {
-               if (value == null)
-                       return "";
-
-               final StringBuilder html = new StringBuilder();
-               html.append(HTML_BEG + "<strong text=\"#4169E1\" >" + colName + 
"</strong><br><hr>"
-                           + HTML_STYLE);
-
-               if ((value instanceof List == false) && (value instanceof Map 
== false))
-                       html.append(value.toString());
-               else if (value instanceof List) {
-                       html.append("<ul leftmargin=\"0\">");
-
-                       for (Object item : (List<Object>) value) {
-                               html.append("<li type=\"square\">" + 
item.toString() + "</li>");
-                       }
-
-                       html.append("</ul>");
-               }
-
-               html.append("</div></body></html>");
-
-               return html.toString();
-       }
 }
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to