[Commits] r2739 - in sandbox/gxm/geoext/gxm/lib: . data
commits at geoext.org
commits at geoext.org
Thu Jun 30 12:50:56 CEST 2011
Author: chrismayer
Date: 2011-06-30 12:50:56 +0200 (Thu, 30 Jun 2011)
New Revision: 2739
Modified:
sandbox/gxm/geoext/gxm/lib/MapPanel.js
sandbox/gxm/geoext/gxm/lib/data/LayerReader.js
sandbox/gxm/geoext/gxm/lib/data/LayerStore.js
Log:
added comments
Modified: sandbox/gxm/geoext/gxm/lib/MapPanel.js
===================================================================
--- sandbox/gxm/geoext/gxm/lib/MapPanel.js 2011-06-29 05:42:51 UTC (rev 2738)
+++ sandbox/gxm/geoext/gxm/lib/MapPanel.js 2011-06-30 10:50:56 UTC (rev 2739)
@@ -1,5 +1,9 @@
Ext.ns('GXM');
+/**
+ * @requires lib/data/LayerStore.js
+ */
+
// mappanel
GXM.MapPanel = Ext.extend(Ext.Component, {
map: null,
Modified: sandbox/gxm/geoext/gxm/lib/data/LayerReader.js
===================================================================
--- sandbox/gxm/geoext/gxm/lib/data/LayerReader.js 2011-06-29 05:42:51 UTC (rev 2738)
+++ sandbox/gxm/geoext/gxm/lib/data/LayerReader.js 2011-06-30 10:50:56 UTC (rev 2739)
@@ -1,40 +1,8 @@
-/**
- * Copyright (c) 2008-2011 The Open Source Geospatial Foundation
- *
- * Published under the BSD license.
- * See http://svn.geoext.org/core/trunk/geoext/license.txt for the full text
- * of the license.
- */
-
/** api: (define)
- * module = GeoExt
- * class = Acsfsftion
- * base_link = `Ext.Action <http://dev.sencha.com/deploy/dev/docs/?class=Ext.Action>`_
+ * module = GXM.data
+ * class = LayerReader
*/
-/** api: example
- * Sample code to create a toolbar with an OpenLayers control into it.
- *
- * .. code-block:: javascript
- *
- * var action = new GeoExt.Actsfdsfion({
- * text: "max extent",
- * control: new OpenLayers.Control.ZoomToMaxExtent(),
- * map: map
- * });
- * var toolbar = new Ext.Toolbar([action]);
- */
-
-/** api: constructor
- * .. class:: Actsffion(config)
- *
- * Create a GeoExt.Action instance. A GeoExt.Action is created
- * to insert an OpenLayers control in a toolbar as a button or
- * in a menu as a menu item. A GeoExt.Action instance can be
- * used like a regular Ext.Action, look at the Ext.Action API
- * doc for more detail.
- */
-
Ext.ns("GXM.data");
GXM.data.LayerReader = Ext.extend(Ext.data.JsonReader, {
Modified: sandbox/gxm/geoext/gxm/lib/data/LayerStore.js
===================================================================
--- sandbox/gxm/geoext/gxm/lib/data/LayerStore.js 2011-06-29 05:42:51 UTC (rev 2738)
+++ sandbox/gxm/geoext/gxm/lib/data/LayerStore.js 2011-06-30 10:50:56 UTC (rev 2739)
@@ -1,5 +1,11 @@
Ext.ns("GXM.data");
+/**
+ * @requires lib/data/model/Layer.js
+ * @requires lib/data/LayerReader.js
+ *
+ */
+
GXM.data.LayerStore = Ext.extend(Ext.data.Store, {
constructor: function(config) {
var conf = config || {};
More information about the Commits
mailing list