Revision 3486 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/showResults/ShowResultsDialogPanel.java
ShowResultsDialogPanel.java | ||
---|---|---|
105 | 105 |
String protocol = resources[i].getProtocol(); |
106 | 106 |
|
107 | 107 |
if (protocol != null){ |
108 |
if ((protocol.toLowerCase().indexOf("ogc:wcs") >= 0) ||
|
|
109 |
(protocol.toLowerCase().indexOf("ogc:wms") >=0) ||
|
|
110 |
(protocol.toLowerCase().indexOf("ogc:wfs") >=0) ||
|
|
111 |
(protocol.toLowerCase().indexOf("postgis") >=0) ||
|
|
112 |
(protocol.toLowerCase().indexOf("www:link") >=0) ||
|
|
113 |
(protocol.toLowerCase().indexOf("www:download") >=0)){
|
|
108 |
if ((protocol.toUpperCase().indexOf(Resource.WMS) >= 0) ||
|
|
109 |
(protocol.toUpperCase().indexOf(Resource.WFS) >=0) ||
|
|
110 |
(protocol.toUpperCase().indexOf(Resource.WCS) >=0) ||
|
|
111 |
(protocol.toUpperCase().indexOf(Resource.POSTGIS) >=0) ||
|
|
112 |
(protocol.toUpperCase().indexOf(Resource.WEBSITE) >=0) ||
|
|
113 |
(protocol.toUpperCase().indexOf(Resource.DOWNLOAD) >=0)){
|
|
114 | 114 |
getMapButton().setEnabled(true); |
115 | 115 |
return; |
116 | 116 |
} |
Also available in: Unified diff