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/ConnectPanel.java
ConnectPanel.java | ||
---|---|---|
29 | 29 |
import javax.swing.JCheckBox; |
30 | 30 |
import javax.swing.JPanel; |
31 | 31 |
|
32 |
import org.gvsig.andami.PluginServices;
|
|
32 |
import org.gvsig.i18n.Messages;
|
|
33 | 33 |
import org.gvsig.utils.swing.jcomboServer.JComboServer; |
34 | 34 |
|
35 | 35 |
/** |
... | ... | |
53 | 53 |
public void init() { |
54 | 54 |
setLayout(new GridBagLayout()); |
55 | 55 |
setBorder(javax.swing.BorderFactory.createTitledBorder( |
56 |
null, PluginServices.getText(this, "server"),
|
|
56 |
null, Messages.getText("server"),
|
|
57 | 57 |
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, |
58 | 58 |
javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null)); |
59 | 59 |
|
... | ... | |
113 | 113 |
if (btnConnect == null) { |
114 | 114 |
btnConnect = new JButton(); |
115 | 115 |
btnConnect.setPreferredSize(new java.awt.Dimension(110, 20)); |
116 |
btnConnect.setText(PluginServices.getText(this, "conectar"));
|
|
116 |
btnConnect.setText(Messages.getText("conectar"));
|
|
117 | 117 |
} |
118 | 118 |
return btnConnect; |
119 | 119 |
} |
... | ... | |
127 | 127 |
btnCancel = new JButton(); |
128 | 128 |
btnCancel.setEnabled(false); |
129 | 129 |
btnCancel.setPreferredSize(new java.awt.Dimension(110, 20)); |
130 |
btnCancel.setText(PluginServices.getText(this, "cancel"));
|
|
130 |
btnCancel.setText(Messages.getText("cancel"));
|
|
131 | 131 |
} |
132 | 132 |
return btnCancel; |
133 | 133 |
} |
... | ... | |
156 | 156 |
public JCheckBox getChkCaching() { |
157 | 157 |
if (chkCaching == null) { |
158 | 158 |
chkCaching = new JCheckBox(); |
159 |
chkCaching.setText(PluginServices.getText(this, "refresh_capabilities"));
|
|
160 |
chkCaching.setToolTipText(PluginServices.getText(this, "refresh_capabilities_tooltip"));
|
|
159 |
chkCaching.setText(Messages.getText("refresh_capabilities"));
|
|
160 |
chkCaching.setToolTipText(Messages.getText("refresh_capabilities_tooltip"));
|
|
161 | 161 |
} |
162 | 162 |
return chkCaching; |
163 | 163 |
} |
Also available in: Unified diff