[Commits] r2175 - in sandbox/cmoullet/ux/DisplayProjectionSelectorCombo: examples tests/ux/widgets/form ux/widgets/form

commits at geoext.org commits at geoext.org
Wed May 12 08:01:22 CEST 2010


Author: cmoullet
Date: 2010-05-12 08:01:22 +0200 (Wed, 12 May 2010)
New Revision: 2175

Modified:
   sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/examples/DisplayProjectionSelectorComboExample.js
   sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/tests/ux/widgets/form/DisplayProjectionSelectorCombo.html
   sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/ux/widgets/form/DisplayProjectionSelectorCombo.js
Log:
Change namespace

Modified: sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/examples/DisplayProjectionSelectorComboExample.js
===================================================================
--- sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/examples/DisplayProjectionSelectorComboExample.js	2010-05-11 15:08:11 UTC (rev 2174)
+++ sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/examples/DisplayProjectionSelectorComboExample.js	2010-05-12 06:01:22 UTC (rev 2175)
@@ -25,7 +25,7 @@
 
     map.addControl(mousePosition);
     
-    var displayProjectionSelectorCombo = new GeoExt.ux.form.DisplayProjectionSelectorCombo({
+    var displayProjectionSelectorCombo = new GeoExt.ux.DisplayProjectionSelectorCombo({
         map: map,
         controls: [mousePosition],
         updateMapDisplayProjection: true,

Modified: sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/tests/ux/widgets/form/DisplayProjectionSelectorCombo.html
===================================================================
--- sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/tests/ux/widgets/form/DisplayProjectionSelectorCombo.html	2010-05-11 15:08:11 UTC (rev 2174)
+++ sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/tests/ux/widgets/form/DisplayProjectionSelectorCombo.html	2010-05-12 06:01:22 UTC (rev 2175)
@@ -22,12 +22,12 @@
 
             // test
 
-            c = new GeoExt.ux.form.DisplayProjectionSelectorCombo({
+            c = new GeoExt.ux.DisplayProjectionSelectorCombo({
                 renderTo: "DisplayProjectionSelector",
                 map: map
             });
-            t.ok(c instanceof GeoExt.ux.form.DisplayProjectionSelectorCombo,
-                    "ctor creates a GeoExt.ux.form.DisplayProjectionSelectorCombo object");
+            t.ok(c instanceof GeoExt.ux.DisplayProjectionSelectorCombo,
+                    "ctor creates a GeoExt.ux.DisplayProjectionSelectorCombo object");
             t.ok(c instanceof Ext.form.ComboBox,
                     "ctor creates an Ext.form.ComboBox object");
             t.ok(c.hasListener("select"),

Modified: sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/ux/widgets/form/DisplayProjectionSelectorCombo.js
===================================================================
--- sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/ux/widgets/form/DisplayProjectionSelectorCombo.js	2010-05-11 15:08:11 UTC (rev 2174)
+++ sandbox/cmoullet/ux/DisplayProjectionSelectorCombo/ux/widgets/form/DisplayProjectionSelectorCombo.js	2010-05-12 06:01:22 UTC (rev 2175)
@@ -12,13 +12,13 @@
  *  base_link = `Ext.form.ComboBox <http://extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox>`_
  */
 
-Ext.namespace("GeoExt.ux.form");
+Ext.namespace("GeoExt.ux");
 
 /**
  * @include OpenLayers/Projection.js
  */
 
-GeoExt.ux.form.DisplayProjectionSelectorCombo = Ext.extend(Ext.form.ComboBox, {
+GeoExt.ux.DisplayProjectionSelectorCombo = Ext.extend(Ext.form.ComboBox, {
     /** api: config[map]
      *  ``OpenLayers.Map or Object``  A configured map or a configuration object
      *  for the map constructor, required only if :attr:`zoom` is set to
@@ -76,7 +76,7 @@
     /** private: constructor
      */
     initComponent: function() {
-        GeoExt.ux.form.DisplayProjectionSelectorCombo.superclass.initComponent.apply(this, arguments);
+        GeoExt.ux.DisplayProjectionSelectorCombo.superclass.initComponent.apply(this, arguments);
 
         this.store = new Ext.data.Store();
 
@@ -193,4 +193,4 @@
 
 
 /** api: xtype = gxux_displayprojectionselectorcombo */
-Ext.reg('gxux_displayprojectionselectorcombo', GeoExt.ux.form.DisplayProjectionSelectorCombo);
+Ext.reg('gxux_displayprojectionselectorcombo', GeoExt.ux.DisplayProjectionSelectorCombo);



More information about the Commits mailing list