Revision 6748 trunk/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/impl/convexhull/gui/GeoProcessingConvexHullPanel.java
GeoProcessingConvexHullPanel.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.3 2006-07-21 09:10:34 azabala |
|
48 |
* Revision 1.4 2006-08-11 16:20:24 azabala |
|
49 |
* *** empty log message *** |
|
50 |
* |
|
51 |
* Revision 1.3 2006/07/21 09:10:34 azabala |
|
49 | 52 |
* fixed bug 608: user doesnt enter any result file to the geoprocess panel |
50 | 53 |
* |
51 | 54 |
* Revision 1.2 2006/06/29 17:32:10 azabala |
... | ... | |
102 | 105 |
import javax.swing.JPanel; |
103 | 106 |
|
104 | 107 |
public class GeoProcessingConvexHullPanel extends AbstractGeoprocessPanel |
105 |
implements View{ |
|
108 |
implements View, ConvexHullPanelIF{
|
|
106 | 109 |
|
107 | 110 |
private static final long serialVersionUID = 1L; |
108 | 111 |
private JLabel jLabel = null; |
... | ... | |
189 | 192 |
} |
190 | 193 |
return layersComboBox; |
191 | 194 |
} |
192 |
/** |
|
193 |
* This method initializes fileNameResultTextField |
|
194 |
* |
|
195 |
* @return javax.swing.JTextField |
|
195 |
/* (non-Javadoc) |
|
196 |
* @see com.iver.cit.gvsig.geoprocess.impl.convexhull.gui.ConvexHullPanelIF#getFileNameResultTextField() |
|
196 | 197 |
*/ |
197 | 198 |
public JTextField getFileNameResultTextField() { |
198 | 199 |
if (fileNameResultTextField == null) { |
... | ... | |
220 | 221 |
return openFileButton; |
221 | 222 |
} |
222 | 223 |
|
224 |
/* (non-Javadoc) |
|
225 |
* @see com.iver.cit.gvsig.geoprocess.impl.convexhull.gui.ConvexHullPanelIF#openResultFile() |
|
226 |
*/ |
|
223 | 227 |
public void openResultFile() { |
224 | 228 |
JFileChooser jfc = new JFileChooser(); |
225 | 229 |
jfc.addChoosableFileFilter(new GenericFileFilter("shp", |
... | ... | |
238 | 242 |
|
239 | 243 |
} |
240 | 244 |
|
245 |
/* (non-Javadoc) |
|
246 |
* @see com.iver.cit.gvsig.geoprocess.impl.convexhull.gui.ConvexHullPanelIF#getInputLayer() |
|
247 |
*/ |
|
241 | 248 |
public FLyrVect getInputLayer() { |
242 | 249 |
FLyrVect solution = null; |
243 | 250 |
String selectedLayer = (String)layersComboBox.getSelectedItem(); |
... | ... | |
245 | 252 |
return solution; |
246 | 253 |
} |
247 | 254 |
|
255 |
/* (non-Javadoc) |
|
256 |
* @see com.iver.cit.gvsig.geoprocess.impl.convexhull.gui.ConvexHullPanelIF#isConvexHullOnlySelected() |
|
257 |
*/ |
|
248 | 258 |
public boolean isConvexHullOnlySelected() { |
249 | 259 |
return selectedOnlyCheckbox.isSelected(); |
250 | 260 |
} |
Also available in: Unified diff