Revision 1361
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.app/org.gvsig.raster.wmts.app.wmtsclient/src/main/java/org/gvsig/raster/wmts/app/wmtsclient/gui/wizard/WMTSWizard.java | ||
---|---|---|
30 | 30 |
import java.net.URL; |
31 | 31 |
import java.util.prefs.Preferences; |
32 | 32 |
|
33 |
import javax.swing.JOptionPane; |
|
33 | 34 |
import javax.swing.JPanel; |
34 | 35 |
|
35 | 36 |
import org.cresques.cts.IProjection; |
... | ... | |
50 | 51 |
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException; |
51 | 52 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
52 | 53 |
import org.gvsig.fmap.mapcontext.exceptions.LoadLayerException; |
54 |
import org.gvsig.gui.beans.Messages; |
|
53 | 55 |
import org.gvsig.raster.tools.app.basic.RasterToolsUtil; |
54 | 56 |
import org.gvsig.raster.util.CancelTaskImpl; |
55 | 57 |
import org.gvsig.raster.wmts.app.wmtsclient.gui.panel.WMTSParamsPanel; |
... | ... | |
194 | 196 |
explorer.connect(cancel); |
195 | 197 |
} catch (WMTSException e) { |
196 | 198 |
serverPanel.getTxtAbstract().setText("Connection closed... \n" + e.getMessage()); |
197 |
RasterToolsUtil.messageBoxError("The connection cannot be established", this, e);
|
|
199 |
JOptionPane.showMessageDialog(null, Messages.getText("wmts_cant_connect"), Messages.getText("Error"), JOptionPane.ERROR_MESSAGE);
|
|
198 | 200 |
return; |
199 | 201 |
} finally { |
200 | 202 |
((CancelTaskImpl)cancel).setCanceled(false); |
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.app/org.gvsig.raster.wmts.app.wmtsclient/src/main/resources/text.properties | ||
---|---|---|
1 | 1 |
WMTSLayer=Capa WMTS |
2 | 2 |
select_info_formats=Seleccionar formatos de texto (Info) |
3 | 3 |
wmts_properties=Propiedades WMTS |
4 |
wmts_cant_connect=No ha sido posible realizar la conexi\u00f3n con el WMTS |
|
4 |
wmts_cant_connect=No ha sido posible realizar la conexi\u00f3n con el servidor WMTS
|
|
5 | 5 |
wmts_not_queryable=Este servidor no acepta peticiones de este tipo |
6 | 6 |
wmts_server_error=Error del servidor WMTS |
7 | 7 |
wmts_transparency=Transparencia |
Also available in: Unified diff