Revision 4340 trunk/extensions/extGeoProcessing/src/com/iver/gvsig/geoprocessing/gui/operationpanels/GeoProcessingConvexHullPanel.java
GeoProcessingConvexHullPanel.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.1 2006-03-05 19:56:06 azabala
|
|
48 |
* Revision 1.2 2006-03-09 17:04:15 azabala
|
|
49 | 49 |
* *** empty log message *** |
50 | 50 |
* |
51 |
* Revision 1.1 2006/03/05 19:56:06 azabala |
|
52 |
* *** empty log message *** |
|
51 | 53 |
* |
54 |
* |
|
52 | 55 |
*/ |
53 | 56 |
package com.iver.gvsig.geoprocessing.gui.operationpanels; |
54 | 57 |
|
... | ... | |
78 | 81 |
import com.iver.gvsig.geoprocessing.schemabuilder.XTypes; |
79 | 82 |
import com.iver.utiles.GenericFileFilter; |
80 | 83 |
|
81 |
public class GeoProcessingConvexHullPanel extends JPanel {
|
|
84 |
public class GeoProcessingConvexHullPanel extends GeoProcessingOperationPanel {
|
|
82 | 85 |
|
83 | 86 |
private static final long serialVersionUID = 1L; |
84 | 87 |
private JLabel jLabel = null; |
... | ... | |
88 | 91 |
private JButton openFileButton = null; |
89 | 92 |
private JLabel jLabel3 = null; |
90 | 93 |
private JLabel jLabel1 = null; |
91 |
private FLayers layers = null; |
|
94 |
|
|
92 | 95 |
/** |
93 | 96 |
* This constructor initializes the set of layers |
94 | 97 |
*/ |
... | ... | |
125 | 128 |
initSelectedItemsJCheckBox(); |
126 | 129 |
} |
127 | 130 |
|
128 |
private String[] getLayerNames() { |
|
129 |
String[] layerNames = new String[layers.getLayersCount()]; |
|
130 |
for (int i=0;i<layers.getLayersCount();i++) { |
|
131 |
layerNames[i] = layers.getLayer(i).getName(); |
|
132 |
} |
|
133 |
return layerNames; |
|
134 |
} |
|
135 |
|
|
131 |
|
|
136 | 132 |
private void initSelectedItemsJCheckBox() { |
137 | 133 |
String selectedLayer = (String)layersComboBox.getSelectedItem(); |
138 | 134 |
FLyrVect inputLayer = (FLyrVect)layers.getLayer(selectedLayer); |
Also available in: Unified diff