[Commits] r315 - apps/opengeo/geoexplorer/trunk/lib

commits at geoext.org commits at geoext.org
Wed Apr 1 20:37:59 CEST 2009


Author: sbenthall
Date: 2009-04-01 20:37:59 +0200 (Wed, 01 Apr 2009)
New Revision: 315

Modified:
   apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
some docs, and a stub for the extractConfiguration method


Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-04-01 18:28:25 UTC (rev 314)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js	2009-04-01 18:37:59 UTC (rev 315)
@@ -210,6 +210,10 @@
         this.layers.add(records);
     },
 
+    /**
+     * Method: initCapabilitiesGrid
+     * Constructs a window with a capabilities grid.
+     */
     initCapabilitiesGrid: function(){
 
         var capGridPanel = new CapabilitiesGrid({
@@ -237,6 +241,10 @@
         });
     },
 
+    /**
+     * Method: showCapabilitiesGrid
+     * Shows the window with a capabilities grid.
+     */
     showCapabilitiesGrid: function(){
         this.capGrid.show();
     },
@@ -291,5 +299,22 @@
         });
         this.mapPanel.add(win);
         win.show();
+    },
+
+
+    
+    /**
+     * Method: extractConfiguration
+     * Returns an object that represents the app's current configuration.
+     *
+     * Returns:
+     *{Object} An object that represents the app's current configuration.
+     */ 
+    extractConfiguration: function(){
+        var config = {};
+
+        config.ows = this.ows;
+
+        return config;
     }
 });



More information about the Commits mailing list