Reviewers: jlabanca, Description: http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=232
Please review this at http://gwt-code-reviews.appspot.com/14802 Affected files: client/FastTree.java Index: client/FastTree.java =================================================================== --- client/FastTree.java (revision 1543) +++ client/FastTree.java (working copy) @@ -599,25 +599,6 @@ } /** - * This is called when a valid selectable element is clicked in the tree. - * Subclasses can override this method to decide whether or not FastTree - * should keep processing the element clicked. For example, a subclass may - * decide to return false for this method if selecting a new item in the tree - * is subject to asynchronous approval from other components of the - * application. - * - * @returns true if element should be processed normally, false otherwise. - * Default returns true. - * - * @deprecated Add a beforeSelectionHandler by calling - * addBeforeSelectionHandler instead. - */ - @Deprecated - protected boolean processElementClicked(FastTreeItem item) { - return true; - } - - /** * Supply a decorator for the fast tree. * * @return a decorator @@ -789,9 +770,7 @@ disableSelection(target); return; } - if (processElementClicked(item)) { - onSelection(item, true, !shouldTreeDelegateFocusToElement(target)); - } + onSelection(item, true, !shouldTreeDelegateFocusToElement(target)); } return; } --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---