diff options
-rw-r--r-- | client/src/com/vaadin/client/SimpleTree.java | 2 | ||||
-rw-r--r-- | client/src/com/vaadin/client/VUIDLBrowser.java | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/client/src/com/vaadin/client/SimpleTree.java b/client/src/com/vaadin/client/SimpleTree.java index 0745a49aa0..289f05022a 100644 --- a/client/src/com/vaadin/client/SimpleTree.java +++ b/client/src/com/vaadin/client/SimpleTree.java @@ -79,7 +79,7 @@ public class SimpleTree extends ComplexPanel implements HasDoubleClickHandlers { if (event.getNativeEvent().getEventTarget().cast() == handle) { if (children.getStyle().getDisplay().intern() == Display.NONE .getCssName()) { - open(event.getNativeEvent().getShiftKey()); + open(event.getNativeEvent().getAltKey()); } else { close(); } diff --git a/client/src/com/vaadin/client/VUIDLBrowser.java b/client/src/com/vaadin/client/VUIDLBrowser.java index e6f38fb167..ee64a5b7b0 100644 --- a/client/src/com/vaadin/client/VUIDLBrowser.java +++ b/client/src/com/vaadin/client/VUIDLBrowser.java @@ -49,9 +49,7 @@ import com.vaadin.client.ui.VWindow; */ @Deprecated public class VUIDLBrowser extends SimpleTree { - private static final String HELP = "Shift click handle to open recursively. " - + " Click components to highlight them on client side." - + " Shift click components to highlight them also on the server side."; + private static final String HELP = "Alt-click handle to open recursively. "; private ApplicationConnection client; private String highlightedPid; @@ -107,7 +105,6 @@ public class VUIDLBrowser extends SimpleTree { protected StateChangeItem() { setTitle(HELP); - addDomHandler(new MouseOutHandler() { @Override public void onMouseOut(MouseOutEvent event) { @@ -120,8 +117,7 @@ public class VUIDLBrowser extends SimpleTree { protected void select(ClickEvent event) { ServerConnector connector = getConnector(); - if (connector != null && event != null - && event.getNativeEvent().getShiftKey()) { + if (connector != null && event != null) { connector.getConnection().highlightConnector(connector); } |