Revision 2340 org.gvsig.raster.tools/branches/org.gvsig.raster.tools_dataaccess_refactoring/org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/properties/panel/EnhancedWithTrimPanel.java
EnhancedWithTrimPanel.java | ||
---|---|---|
30 | 30 |
import javax.swing.JCheckBox; |
31 | 31 |
import javax.swing.JPanel; |
32 | 32 |
|
33 |
import org.gvsig.andami.PluginServices; |
|
34 | 33 |
import org.gvsig.gui.beans.slidertext.SliderTextContainer; |
34 |
import org.gvsig.i18n.Messages; |
|
35 | 35 |
|
36 | 36 |
/** |
37 | 37 |
* Panel para los controles de brillo y contraste. |
... | ... | |
40 | 40 |
*/ |
41 | 41 |
public class EnhancedWithTrimPanel extends JPanel implements ActionListener { |
42 | 42 |
private static final long serialVersionUID = 9023137365069951866L; |
43 |
|
|
44 | 43 |
private JCheckBox active = null; |
45 | 44 |
private SliderTextContainer trimSlider = null; |
46 | 45 |
private JCheckBox removeCheck = null; |
... | ... | |
55 | 54 |
} |
56 | 55 |
|
57 | 56 |
private void init() { |
58 |
setBorder(javax.swing.BorderFactory.createTitledBorder(null, PluginServices.getText(this, "realce"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null));
|
|
57 |
setBorder(javax.swing.BorderFactory.createTitledBorder(null, Messages.getText("realce"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null));
|
|
59 | 58 |
setLayout(new GridBagLayout()); |
60 | 59 |
GridBagConstraints gbc = new GridBagConstraints(); |
61 | 60 |
gbc.anchor = GridBagConstraints.NORTH; |
... | ... | |
79 | 78 |
*/ |
80 | 79 |
public JCheckBox getActive() { |
81 | 80 |
if (active == null) { |
82 |
active = new JCheckBox(PluginServices.getText(this, "activar"));
|
|
81 |
active = new JCheckBox(Messages.getText("activar"));
|
|
83 | 82 |
active.setSelected(false); |
84 | 83 |
this.setControlEnabled(false); |
85 | 84 |
} |
... | ... | |
92 | 91 |
*/ |
93 | 92 |
public JCheckBox getRemoveCheck() { |
94 | 93 |
if (removeCheck == null) { |
95 |
removeCheck = new JCheckBox(PluginServices.getText(this, "eliminar_extremos"));
|
|
94 |
removeCheck = new JCheckBox(Messages.getText("eliminar_extremos"));
|
|
96 | 95 |
} |
97 | 96 |
return removeCheck; |
98 | 97 |
} |
... | ... | |
103 | 102 |
*/ |
104 | 103 |
public JCheckBox getTrimCheck() { |
105 | 104 |
if (trimCheck == null) { |
106 |
trimCheck = new JCheckBox(PluginServices.getText(this, "recorte_de_colas"));
|
|
105 |
trimCheck = new JCheckBox(Messages.getText("recorte_de_colas"));
|
|
107 | 106 |
} |
108 | 107 |
return trimCheck; |
109 | 108 |
} |
Also available in: Unified diff