[Commits] r1863 - sandbox/redlining/ux/FeatureEditing/ux/widgets/form

commits at geoext.org commits at geoext.org
Tue Feb 2 21:21:48 CET 2010


Author: adube
Date: 2010-02-02 21:21:48 +0100 (Tue, 02 Feb 2010)
New Revision: 1863

Modified:
   sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js
Log:
convenience import and export properties for RedLiningPanel 

Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js	2010-02-02 20:12:14 UTC (rev 1862)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js	2010-02-02 20:21:48 UTC (rev 1863)
@@ -37,6 +37,23 @@
  */
 GeoExt.ux.form.RedLiningPanel = Ext.extend(GeoExt.ux.form.FeatureEditingPanel, {
 
+    /** api: property[map]
+     *  ``OpenLayers.Map``  A configured map object.
+     */
+    map: null,
+
+    /** api: property[import]
+     *  ``Boolean``
+     *  If set to true, automatically creates and add Import(s) pluggins.
+     */
+    import: true,
+
+    /** api: property[export]
+     *  ``Boolean``
+     *  If set to true, automatically creates and add Import(s) pluggins.
+     */
+    export: true,
+
     /** private: method[initComponent]
      */
     initComponent: function() {
@@ -64,7 +81,9 @@
     initControler: function() {
         this.controler = new GeoExt.ux.FeatureEditingControler({
             'cosmetic': true,
-            'map': this.map
+            'map': this.map,
+            'import': this.import,
+            'export': this.export
         });
     }
 });



More information about the Commits mailing list