summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-05-11 13:23:40 +0000
committerArtur Signell <artur.signell@itmill.com>2009-05-11 13:23:40 +0000
commitfcc8d0ff0900243a4f07d57a15a2ebc0ec442492 (patch)
tree22a6cbbd7fc72965093583ea877be8b8b4f136be
parent4056548437d063ac9dba15cf1e7e944bf4140cb0 (diff)
downloadvaadin-framework-fcc8d0ff0900243a4f07d57a15a2ebc0ec442492.tar.gz
vaadin-framework-fcc8d0ff0900243a4f07d57a15a2ebc0ec442492.zip
Removed debug info
svn changeset:7741/svn branch:6.0
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/IContextMenu.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/IContextMenu.java b/src/com/vaadin/terminal/gwt/client/ui/IContextMenu.java
index 72a87ea188..5dc2e981b9 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/IContextMenu.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/IContextMenu.java
@@ -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;
}
}