[Commits] r2892 - in sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux: data widgets widgets/grid widgets/tree
commits at geoext.org
commits at geoext.org
Fri Dec 14 13:45:24 CET 2012
Author: sbrunner
Date: 2012-12-14 13:45:24 +0100 (Fri, 14 Dec 2012)
New Revision: 2892
Modified:
sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/data/WMSBrowserWMSCapabilitiesStore.js
sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js
sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/grid/WMSBrowserGridPanel.js
sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserRootNode.js
sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserTreePanel.js
Log:
Remove trailing white space
Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/data/WMSBrowserWMSCapabilitiesStore.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/data/WMSBrowserWMSCapabilitiesStore.js 2012-10-05 12:09:15 UTC (rev 2891)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/data/WMSBrowserWMSCapabilitiesStore.js 2012-12-14 12:45:24 UTC (rev 2892)
@@ -1,6 +1,6 @@
/**
* Copyright (c) 2008-2010 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.
@@ -103,10 +103,10 @@
}
}
- // Check if the llbbox
+ // Check if the llbbox
var layerExtent = record.get("llbbox");
var extent;
- if (layerExtent)
+ if (layerExtent)
{
if(typeof layerExtent == "string") {
extent = OpenLayers.Bounds.fromString(layerExtent);
@@ -134,7 +134,7 @@
// url field is a combobox and if it's not already added
var xtype = this.wmsbrowser.serverComboBox.getXType();
if(xtype == Ext.form.ComboBox.xtype) {
- var aszUrls =
+ var aszUrls =
this.wmsbrowser.serverComboBox.store.getValueArray('url');
var index = OpenLayers.Util.indexOf(
aszUrls, this.wmsbrowser.currentUrl
Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js 2012-10-05 12:09:15 UTC (rev 2891)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/WMSBrowser.js 2012-12-14 12:45:24 UTC (rev 2892)
@@ -1,6 +1,6 @@
/**
* Copyright (c) 2008-2010 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.
@@ -96,7 +96,7 @@
layerCantBeAddedText: "This layer can't be added : ",
/** api: config[srsNotSupportedText] ``String`` i18n */
- srsNotSupportedText: "This layer can't be added to the current map" +
+ srsNotSupportedText: "This layer can't be added to the current map" +
" because it doesn't support its projection.",
/** api: config[srsNotSupportedShortText] ``String`` i18n */
@@ -192,7 +192,7 @@
/** api: config[capabilitiesParams]
* ``Object`` Hash of parameters for the GetCapabilities requests. Each
- * defined parameter will overwrites the
+ * defined parameter will overwrites the
* DEFAULT_CAPABILITIES_PARAMS
*/
capabilitiesParams: {},
@@ -269,14 +269,14 @@
/** api: config[layerBrowserXtype]
* ``String`` The xtype of layer browser to use (component on the left).
- * Supported value are :
+ * Supported value are :
* - Ext.grid.GridPanel.xtype
* - Ext.tree.TreePanel.xtype
*/
layerBrowserXtype: null,
/** api: config[alertPopupTimeout]
- * ``Integer`` The 'popupTimeout' property to set the
+ * ``Integer`` The 'popupTimeout' property to set the
* :class:`GeoExt.ux.plugins.WMSBrowserAlerts` plugin. Only used if no
* :class:`GeoExt.ux.WMSBrowserStatusBar` is set.
*/
@@ -286,7 +286,7 @@
* ``String`` Used to keep track of the url while a query is processing.
*/
currentUrl: null,
-
+
/** private: property[layerPreview]
* :class:`GeoExt.data.LayerRecord` Used to create the layer preview
*/
@@ -299,7 +299,7 @@
mapPanelPreview: null,
/** private: prperty[gridPanel]
- * :class:`Ext.grid.GridPanel` The grid used to display the
+ * :class:`Ext.grid.GridPanel` The grid used to display the
* :class:`GeoExt.data.LayerRecord` created inside the
* :class:`GeoExt.data.WMSCapabilitiesStore`. Not used if treePanel is
* defined (see below).
@@ -345,10 +345,10 @@
Ext.apply(this, config);
if (!this.serverStore) {
- this.serverStore =
+ this.serverStore =
new Ext.data.SimpleStore({fields: ['url'], data : []});
}
-
+
Ext.applyIf(this.capabilitiesParams, this.DEFAULT_CAPABILITIES_PARAMS);
this.layerBrowserXtype =
this.layerBrowserXtype || this.DEFAULT_LAYER_BROWSER_XTYPE;
@@ -459,7 +459,7 @@
layout: 'border',
border: true,
items: [
- this.createFormPanel(),
+ this.createFormPanel(),
this.mapPanelPreview
]
});
@@ -622,7 +622,7 @@
this.fireEvent('genericerror', this.pleaseInputURLText);
return;
}
- // if url is not blank and the widget don't allow invalid urls,
+ // if url is not blank and the widget don't allow invalid urls,
// throw error
else if (!this.allowInvalidUrl){
this.fireEvent('genericerror', this.inputURLInvalidText);
@@ -637,7 +637,7 @@
this.currentUrl = url;
// add the GetCapabilities parameters to the url
- var params = OpenLayers.Util.getParameterString(this.capabilitiesParams);
+ var params = OpenLayers.Util.getParameterString(this.capabilitiesParams);
url = OpenLayers.Util.urlAppend(url, params);
// check for local proxyHost setting, then OpenLayers.ProxyHost
@@ -666,11 +666,11 @@
*/
addLayer: function() {
if(this.layerBrowser.addLayer()) {
- if(this.closeOnLayerAdded &&
+ if(this.closeOnLayerAdded &&
this.ownerCt.getXType() == Ext.Window.xtype) {
this.closeWindow();
}
- }
+ }
},
/** private: method[onAfterRender]
@@ -738,7 +738,7 @@
layerExtent = record.get("llbbox");
}
- if (layerExtent)
+ if (layerExtent)
{
var extent;
if(typeof layerExtent == "string") {
@@ -746,7 +746,7 @@
} else if(layerExtent instanceof Array) {
extent = OpenLayers.Bounds.fromArray(layerExtent);
}
-
+
if (extent) {
this.mapPanelPreview.map.zoomToExtent(extent);
zoomed = true;
@@ -801,7 +801,7 @@
*/
isLayerNameValid: function() {
var validLayerName = true;
-
+
var layerName = this.layerNameField.getValue();
if (!layerName || layerName == "") {
this.fireEvent('genericerror', this.pleaseInputLayerNameText);
Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/grid/WMSBrowserGridPanel.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/grid/WMSBrowserGridPanel.js 2012-10-05 12:09:15 UTC (rev 2891)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/grid/WMSBrowserGridPanel.js 2012-12-14 12:45:24 UTC (rev 2892)
@@ -1,6 +1,6 @@
/**
* Copyright (c) 2008-2010 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.
@@ -114,7 +114,7 @@
{ header: this.wmsbrowser.nameText, scope: this,
dataIndex: "name", sortable: true},
{ header: this.wmsbrowser.queryableText, scope: this,
- dataIndex: "queryable", sortable: true, hidden: true,
+ dataIndex: "queryable", sortable: true, hidden: true,
renderer: this.boolRenderer, width: 30},
{ header: this.wmsbrowser.descriptionText, scope: this,
dataIndex: "abstract", hidden: true}
@@ -223,7 +223,7 @@
/** private: method[setLayerNameFromSelectedRecords]
* Set the layerName field value to all the selected layer record 'title'
- * or 'name'.
+ * or 'name'.
*/
setLayerNameFromSelectedRecords: function() {
this.wmsbrowser.layerNameField.setValue(
@@ -341,7 +341,7 @@
{'LAYERS': layersParam}
);
- newLayerRecord.get("layer").name =
+ newLayerRecord.get("layer").name =
this.wmsbrowser.layerNameField.getValue();
var addLayer = this.wmsbrowser.fireEvent(
Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserRootNode.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserRootNode.js 2012-10-05 12:09:15 UTC (rev 2891)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserRootNode.js 2012-12-14 12:45:24 UTC (rev 2892)
@@ -1,7 +1,7 @@
/**
* Copyright (c) 2008-2010 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.
@@ -101,7 +101,7 @@
this.cascade(function(){
var layer = this.attributes.layer;
- // skip nodes without layers or not checked
+ // skip nodes without layers or not checked
if (!layer || !this.getUI().isChecked()) {
return;
}
@@ -131,7 +131,7 @@
this.cascade(function(){
var layer = this.attributes.layer;
- // skip nodes without layers or not checked
+ // skip nodes without layers or not checked
if (!layer || !this.getUI().isChecked()) {
return;
}
Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserTreePanel.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserTreePanel.js 2012-10-05 12:09:15 UTC (rev 2891)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/widgets/tree/WMSBrowserTreePanel.js 2012-12-14 12:45:24 UTC (rev 2892)
@@ -1,6 +1,6 @@
/**
* Copyright (c) 2008-2010 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.
@@ -206,7 +206,7 @@
map.zoomToExtent(bounds.transform(
new OpenLayers.Projection("EPSG:4326"),
new OpenLayers.Projection(map.getProjection())
- ));
+ ));
}
}
}
@@ -270,7 +270,7 @@
// validate extent
var layerExtent = layer.metadata.llbbox;
var extent;
- if (layerExtent)
+ if (layerExtent)
{
if(typeof layerExtent == "string") {
extent = OpenLayers.Bounds.fromString(layerExtent);
More information about the Commits
mailing list