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

commits at geoext.org commits at geoext.org
Sat Jan 9 06:11:56 CET 2010


Author: cmoullet
Date: 2010-01-09 06:11:56 +0100 (Sat, 09 Jan 2010)
New Revision: 1687

Modified:
   sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js
Log:
Use controler for import/export

Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js	2010-01-09 05:11:29 UTC (rev 1686)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/form/RedLiningPanel.js	2010-01-09 05:11:56 UTC (rev 1687)
@@ -135,16 +135,9 @@
         this.controler.initDrawControls();
         this.controler.initFeatureControl();
         this.controler.initDeleteAllAction();
+        this.controler.initImportFeaturesAction();
+        this.controler.initExportAllFeaturesAction();
 
-        var importAction = this.importAction || new Ext.Action({text:'Import'});
-        this.controler.importAction = importAction;
-        this.controler.actions.push(importAction);
-
-        var exportAction = this.exportAction || new Ext.Action({text:'ExportAll'});
-        this.controler.exportAction = exportAction;
-        this.controler.actions.push(exportAction);
-
-
         // Add buttons and toolbar
         Ext.apply(this, {tbar: new Ext.Toolbar(this.controler.actions)});
     },



More information about the Commits mailing list