[Commits] r2625 - core/trunk/geoext/lib/GeoExt/plugins

commits at geoext.org commits at geoext.org
Mon Mar 21 08:55:19 CET 2011


Author: elemoine
Date: 2011-03-21 08:55:19 +0100 (Mon, 21 Mar 2011)
New Revision: 2625

Modified:
   core/trunk/geoext/lib/GeoExt/plugins/TreeNodeComponent.js
Log:
corrections to the TreeNodeComponent doc strings, no functional change

Modified: core/trunk/geoext/lib/GeoExt/plugins/TreeNodeComponent.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/plugins/TreeNodeComponent.js	2011-03-18 16:10:54 UTC (rev 2624)
+++ core/trunk/geoext/lib/GeoExt/plugins/TreeNodeComponent.js	2011-03-21 07:55:19 UTC (rev 2625)
@@ -34,13 +34,7 @@
  *      );
  *      var tree = new Ext.tree.TreePanel({
  *          plugins: [
- *              new GeoExt.plugins.TreeNodeRadioButton({
- *                  listeners: {
- *                      "radiochange": function(node) {
- *                          alert(node.text + "'s radio button was clicked.");
- *                      }
- *                  }
- *              })
+ *              new GeoExt.plugins.TreeNodeComponent(),
  *          ],
  *          root: {
  *              nodeType: "node",
@@ -55,15 +49,6 @@
  *              }
  *          }
  *      }
- *
- *  Sample code to create a layer node UI with a radio button:
- *
- *  .. code-block:: javascript
- *
- *      var uiClass = Ext.extend(
- *          GeoExt.tree.LayerNodeUI,
- *          new GeoExt.tree.TreeNodeUIEventMixin
- *      );
  */
 
 GeoExt.plugins.TreeNodeComponent = Ext.extend(Ext.util.Observable, {



More information about the Commits mailing list