[Commits] r2191 - core/trunk/geoext/lib/GeoExt/plugins
commits at geoext.org
commits at geoext.org
Thu May 13 19:44:09 CEST 2010
Author: tschaub
Date: 2010-05-13 19:44:09 +0200 (Thu, 13 May 2010)
New Revision: 2191
Modified:
core/trunk/geoext/lib/GeoExt/plugins/PrintExtent.js
Log:
Doc comment syntax corrections.
Modified: core/trunk/geoext/lib/GeoExt/plugins/PrintExtent.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/plugins/PrintExtent.js 2010-05-13 17:11:03 UTC (rev 2190)
+++ core/trunk/geoext/lib/GeoExt/plugins/PrintExtent.js 2010-05-13 17:44:09 UTC (rev 2191)
@@ -169,11 +169,12 @@
},
/** api: method[addPage]
- * Adds a page to the list of pages that this plugin controls.
* :param page: :class:`GeoExt.data.PrintPage` The page to add
* to this plugin. If not provided, a page that fits the current
* extent is created.
* :return: page :class:``GeoExt.data.PrintPage``
+ *
+ * Adds a page to the list of pages that this plugin controls.
*/
addPage: function(page) {
page = page || new GeoExt.data.PrintPage({
@@ -199,9 +200,10 @@
},
/** api: method[removePage]
- * Removes a page from the list of pages that this plugin controls.
* :param page: :class:`GeoExt.data.PrintPage` The page to remove
* from this plugin.
+ *
+ * Removes a page from the list of pages that this plugin controls.
*/
removePage: function(page) {
this.pages.remove(page);
@@ -212,9 +214,10 @@
},
/** api: method[selectPage]
- * Selects the given page (ie. calls the setFeature on the
- * modify feature control)
* :param page: :class:`GeoExt.data.PrintPage` The page to select
+ *
+ * Selects the given page (ie. calls the setFeature on the modify feature
+ * control)
*/
selectPage: function(page) {
this.control.active && this.control.setFeature(page.feature);
@@ -222,6 +225,7 @@
},
/** api: method[setUp]
+ *
* Sets up the plugin, initializing the ``OpenLayers.Layer.Vector``
* layer and ``OpenLayers.Control.TransformFeature``, and centering
* the first page if no pages were specified in the configuration.
@@ -235,6 +239,7 @@
},
/** private: method[tearDown]
+ *
* Tear downs the plugin, removing the
* ``OpenLayers.Control.TransformFeature`` control and
* the ``OpenLayers.Layer.Vector`` layer.
More information about the Commits
mailing list