changeset 1145:86c489f267b3

RT-20977: [TreeView] Select/De-Select all by keyboard
author jgiles
date Fri, 25 May 2012 11:51:39 +1200
parents bad86696aadc
children e25824ec5126
files javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TreeViewBehavior.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TreeViewBehavior.java	Fri May 25 09:00:15 2012 +1200
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TreeViewBehavior.java	Fri May 25 11:51:39 2012 +1200
@@ -72,8 +72,6 @@
 
         if (PlatformUtil.isMac()) {
             TREE_VIEW_BINDINGS.add(new KeyBinding(A, "SelectAll").meta());
-            TREE_VIEW_BINDINGS.add(new KeyBinding(BACK_SLASH, "ClearSelection").meta());
-            TREE_VIEW_BINDINGS.add(new KeyBinding(SLASH, "SelectAll").meta());
             TREE_VIEW_BINDINGS.add(new KeyBinding(SPACE, "toggleFocusOwnerSelection").ctrl().meta());
             TREE_VIEW_BINDINGS.add(new KeyBinding(PAGE_UP, "FocusPageUp").meta());
             TREE_VIEW_BINDINGS.add(new KeyBinding(PAGE_DOWN, "FocusPageDown").meta());
@@ -88,8 +86,6 @@
             TREE_VIEW_BINDINGS.add(new KeyBinding(END, "DiscontinuousSelectAllToLastRow").meta().shift());
         } else {
             TREE_VIEW_BINDINGS.add(new KeyBinding(A, "SelectAll").ctrl());
-            TREE_VIEW_BINDINGS.add(new KeyBinding(BACK_SLASH, "ClearSelection").ctrl());
-            TREE_VIEW_BINDINGS.add(new KeyBinding(SLASH, "SelectAll").ctrl());
             TREE_VIEW_BINDINGS.add(new KeyBinding(SPACE, "toggleFocusOwnerSelection").ctrl());
             TREE_VIEW_BINDINGS.add(new KeyBinding(PAGE_UP, "FocusPageUp").ctrl());
             TREE_VIEW_BINDINGS.add(new KeyBinding(PAGE_DOWN, "FocusPageDown").ctrl());