Revision 20174 trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/scatterplot/chart/ScatterPlotDiagram.java
ScatterPlotDiagram.java | ||
---|---|---|
77 | 77 |
import javax.swing.event.EventListenerList; |
78 | 78 |
|
79 | 79 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
80 |
import org.gvsig.raster.IProcessActions; |
|
81 |
import org.gvsig.raster.grid.roi.ROI; |
|
80 | 82 |
import org.gvsig.remotesensing.scatterplot.gui.ManagerROIChartPanel; |
81 | 83 |
import org.gvsig.remotesensing.scatterplot.listener.RoiFromChartProcess; |
82 | 84 |
import org.jfree.chart.ChartMouseListener; |
... | ... | |
107 | 109 |
* */ |
108 | 110 |
public class ScatterPlotDiagram extends JPanel implements ChartChangeListener, |
109 | 111 |
ActionListener, MouseListener, |
110 |
MouseMotionListener, Printable, Serializable { |
|
112 |
MouseMotionListener, Printable, Serializable,IProcessActions {
|
|
111 | 113 |
|
112 | 114 |
|
113 | 115 |
private static final long serialVersionUID = 1L; |
... | ... | |
882 | 884 |
g2.setPaint(activeROI.getColor()); |
883 | 885 |
g2.draw(rectangleArea); |
884 | 886 |
activeROI.add(rectangleArea, getRange(rectangleArea)); |
885 |
RoiFromChartProcess process= new RoiFromChartProcess(activeROI,rasterSE); |
|
886 |
process.createVectorialRoi(); |
|
887 |
RoiFromChartProcess process= new RoiFromChartProcess(); |
|
888 |
process.addParam("roi",activeROI); |
|
889 |
process.addParam("raster",(FLyrRasterSE)rasterSE); |
|
890 |
process.setActions(this); |
|
891 |
process.start(); |
|
887 | 892 |
if(gestorRois!= null){ |
888 | 893 |
// Cargar la nueva ROI en el destor |
889 | 894 |
gestorRois.clearRoiGraphics(); |
... | ... | |
1328 | 1333 |
public void mouseMoved(MouseEvent e) { |
1329 | 1334 |
// TODO Auto-generated method stub |
1330 | 1335 |
} |
1331 |
|
|
1336 |
|
|
1337 |
|
|
1338 |
|
|
1339 |
public void interrupted() { |
|
1340 |
// TODO Auto-generated method stub |
|
1341 |
|
|
1342 |
} |
|
1343 |
|
|
1344 |
|
|
1345 |
|
|
1346 |
public void end(Object param) { |
|
1347 |
// TODO Auto-generated method stub |
|
1348 |
|
|
1349 |
} |
|
1350 |
|
|
1332 | 1351 |
} |
Also available in: Unified diff