]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed debug info
authorArtur Signell <artur.signell@itmill.com>
Mon, 11 May 2009 13:23:40 +0000 (13:23 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 11 May 2009 13:23:40 +0000 (13:23 +0000)
svn changeset:7741/svn branch:6.0

src/com/vaadin/terminal/gwt/client/ui/IContextMenu.java

index 72a87ea1882c1ce3945dbaa4712e9b68e2f793e1..5dc2e981b95a87117902e65f3319523862a8c60f 100644 (file)
@@ -12,7 +12,6 @@ import com.google.gwt.user.client.Window;
 import com.google.gwt.user.client.ui.MenuBar;
 import com.google.gwt.user.client.ui.MenuItem;
 import com.google.gwt.user.client.ui.PopupPanel;
-import com.vaadin.terminal.gwt.client.ApplicationConnection;
 
 public class IContextMenu extends IToolkitOverlay implements SubPartAware {
 
@@ -120,8 +119,8 @@ public class IContextMenu extends IToolkitOverlay implements SubPartAware {
 
     public Element getSubPartElement(String subPart) {
         int index = Integer.parseInt(subPart.substring(6));
-        ApplicationConnection.getConsole().log(
-                "Searching element for selection index " + index);
+        // ApplicationConnection.getConsole().log(
+        // "Searching element for selection index " + index);
         Element wrapperdiv = menu.getElement();
         com.google.gwt.dom.client.TableSectionElement tBody = (TableSectionElement) wrapperdiv
                 .getFirstChildElement().getFirstChildElement();
@@ -137,7 +136,7 @@ public class IContextMenu extends IToolkitOverlay implements SubPartAware {
             {
                 while (e != null && !e.getTagName().toLowerCase().equals("tr")) {
                     e = e.getParentElement();
-                    ApplicationConnection.getConsole().log("Found row");
+                    // ApplicationConnection.getConsole().log("Found row");
                 }
             }
             com.google.gwt.dom.client.TableSectionElement parentElement = (TableSectionElement) e
@@ -145,8 +144,8 @@ public class IContextMenu extends IToolkitOverlay implements SubPartAware {
             NodeList<TableRowElement> rows = parentElement.getRows();
             for (int i = 0; i < rows.getLength(); i++) {
                 if (rows.getItem(i) == e) {
-                    ApplicationConnection.getConsole().log(
-                            "Found index for row" + 1);
+                    // ApplicationConnection.getConsole().log(
+                    // "Found index for row" + 1);
                     return "option" + i;
                 }
             }