Revision 4340 trunk/extensions/extGeoProcessing/src/com/iver/gvsig/geoprocessing/gui/operationpanels/GeoProcessingDissolvePanel.java

View differences:

GeoProcessingDissolvePanel.java
91 91
 * @author azabala
92 92
 * 
93 93
 */
94
public class GeoProcessingDissolvePanel extends JPanel implements
94
public class GeoProcessingDissolvePanel extends GeoProcessingOperationPanel implements
95 95
		DissolvePanelIF {
96 96

  
97 97
	private static final long serialVersionUID = 1L;
......
118 118

  
119 119
	private JButton outputCoverJButton = null;
120 120

  
121
	private FLayers layers = null;
122

  
123 121
	private File outputFile = null;
124 122

  
125 123
	private JLabel numericFieldLabel = null;
......
209 207
		// initSelectedItemsJCheckBox();
210 208
	}
211 209

  
212
	private String[] getLayerNames() {
213
		String[] layerNames = new String[layers.getLayersCount()];
214
		for (int i = 0; i < layers.getLayersCount(); i++) {
215
			layerNames[i] = layers.getLayer(i).getName();
216
		}
217
		return layerNames;
218
	}
219

  
220 210
	private String[] getFieldNames() {
221 211
		AlphanumericData lyr = (AlphanumericData) getInputLayer();
222 212
		DataSource ds;

Also available in: Unified diff