01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08:
09: package com.gwtext.client.widgets.tree;
10:
11: /**
12: * Node selection callback.
13: *
14: * @see com.gwtext.client.widgets.tree.TreePanel#selectPath(String, NodeSelectionCallback)
15: */
16: public interface NodeSelectionCallback {
17:
18: /**
19: * Callback invoked when selection is complete.
20: *
21: * @param success true if selection successful
22: * @param node the selected node
23: */
24: void onSelect(boolean success, TreeNode node);
25: }
|