Revision 261 org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/org.gvsig.geoprocess.algorithm/org.gvsig.geoprocess.algorithm.merge/src/main/java/org/gvsig/geoprocess/algorithm/merge/MergeParametersPanel.java

View differences:

MergeParametersPanel.java
47 47
import es.unex.sextante.outputs.Output;
48 48

  
49 49
import org.gvsig.geoprocess.core.CompositeSourceOutputChannel;
50
import org.gvsig.geoprocess.lib.api.GeoProcessLocator;
50 51
import org.gvsig.geoprocess.sextante.gui.algorithm.AlgorithmOutputPanel;
51 52
import org.gvsig.gui.beans.table.TableContainer;
52 53
import org.gvsig.gui.beans.table.exceptions.NotInitializeException;
......
61 62
	private JComboBox                        fieldsCombo        = null;
62 63
	private JCheckBox                        allLayers          = null;
63 64
	//private AlgorithmOutputPanel             output             = null;
64
	private final String[]                   columnNames        = { "Selected", "Layer" };
65
	private final String[]                   columnNames        = { GeoProcessLocator.getGeoProcessManager().getTranslation("Selected"),
66
																	GeoProcessLocator.getGeoProcessManager().getTranslation("Layer") };
65 67
	private final int[]                      columnWidths       = { 35, 334 };
66 68
	private TableContainer                   table              = null;
67 69
	private ObjectAndDescription[]           layerList          = null;
......
99 101
		gbc.insets = new Insets(5, 5, 8, 5);
100 102
		gbc.weightx = 1.0;
101 103
		gbc.weighty = 0;
102
		this.add(getFieldsComboPanel(Sextante.getText("Field"), getFieldsCombo()), gbc);
104
		this.add(getFieldsComboPanel(GeoProcessLocator.getGeoProcessManager().getTranslation("Field"), getFieldsCombo()), gbc);
103 105
		
104 106
		gbc.gridy = 3;
105 107
		this.add(getAlgorithmOutputPanel(), gbc);
......
168 170
	 */
169 171
	public JCheckBox getAllLayersCheck() {
170 172
		if(allLayers == null) {
171
			allLayers = new JCheckBox(Sextante.getText("select_all_layers"));
173
			allLayers = new JCheckBox(GeoProcessLocator.getGeoProcessManager().getTranslation("select_all_layers"));
172 174
			allLayers.addActionListener(this);
173 175
		}
174 176
		return allLayers;

Also available in: Unified diff