Revision 2613 org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.swing/org.gvsig.raster.wmts.swing.impl/src/main/java/org/gvsig/raster/wmts/swing/impl/panel/main/IServerPanel.java
IServerPanel.java | ||
---|---|---|
33 | 33 |
import javax.swing.JOptionPane; |
34 | 34 |
import javax.swing.JPanel; |
35 | 35 |
|
36 |
import org.gvsig.andami.PluginServices;
|
|
36 |
import org.gvsig.i18n.Messages;
|
|
37 | 37 |
import org.gvsig.raster.wmts.swing.AddServerPanel; |
38 | 38 |
import org.gvsig.utils.swing.jcomboServer.JComboServer; |
39 | 39 |
|
... | ... | |
113 | 113 |
public JCheckBox getChkInvertAxisOrder() { |
114 | 114 |
if (chkInvertAxisOrder == null) { |
115 | 115 |
chkInvertAxisOrder = new JCheckBox(); |
116 |
chkInvertAxisOrder.setText(PluginServices.getText(this, "invert_axis_order"));
|
|
116 |
chkInvertAxisOrder.setText(Messages.getText("invert_axis_order"));
|
|
117 | 117 |
chkInvertAxisOrder.setSelected(false); |
118 | 118 |
chkInvertAxisOrder.addActionListener(this); |
119 | 119 |
} |
... | ... | |
181 | 181 |
|
182 | 182 |
public void actionPerformed(ActionEvent e) { |
183 | 183 |
if(e.getSource() == getChkInvertAxisOrder()) { |
184 |
String string = PluginServices.getText(this, "accept");
|
|
184 |
String string = Messages.getText("accept");
|
|
185 | 185 |
Object[] options = {string}; |
186 | 186 |
JOptionPane.showOptionDialog((Component)/*PluginServices.getMainFrame()*/this, |
187 |
"<html>" + PluginServices.getText(this, "cache_refresh").replaceAll("\n", "<br>") + "</html>",
|
|
188 |
PluginServices.getText(this, "confirmacion"),
|
|
187 |
"<html>" + Messages.getText("cache_refresh").replaceAll("\n", "<br>") + "</html>",
|
|
188 |
Messages.getText("confirmacion"),
|
|
189 | 189 |
JOptionPane.OK_OPTION, |
190 | 190 |
JOptionPane.INFORMATION_MESSAGE, |
191 | 191 |
null, |
Also available in: Unified diff