| CODENOTIFIER | HelpYou are not signed inSign in |
Project: gwt-ext
Revision: 1812
Author: mlim1972
Date: 20 Aug 2008 13:02:19
Changes:need to get a treenode by giving the javascriptobject. The current instance given was to return a Node not a TreeNode.
Files:| ... | ...@@ -73,6 +73,10 @@ | |
| 73 | 73 | public static Node instance(JavaScriptObject jsObj) { |
| 74 | 74 | return new TreeNode(jsObj); |
| 75 | 75 | } |
| 76 | ||
| 77 | public static TreeNode treeNodeInstance(JavaScriptObject jsObj){ | |
| 78 | return new TreeNode(jsObj); | |
| 79 | } | |
| 76 | 80 | |
| 77 | 81 | protected native JavaScriptObject create(JavaScriptObject config)/*-{ |
| 78 | 82 | return new $wnd.Ext.tree.TreeNode(config); |