Revision 17681
trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/scatterplot/gui/ScatterPlotTocMenuEntry.java | ||
---|---|---|
57 | 57 |
* @author Diego Guerrero Sevilla (diego.guerrero@uclm.es |
58 | 58 |
*/ |
59 | 59 |
public class ScatterPlotTocMenuEntry extends AbstractTocContextMenuAction { |
60 |
private ArrayList listeners = new ArrayList(); |
|
61 |
|
|
62 | 60 |
/* |
63 | 61 |
* (non-Javadoc) |
64 | 62 |
* @see com.iver.cit.gvsig.project.documents.contextMenu.AbstractContextMenuAction#getGroup() |
trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/scatterplot/gui/ManagerROIChartPanel.java | ||
---|---|---|
315 | 315 |
getRoiGraphics().put(roi.getName(), new ArrayList()); |
316 | 316 |
} |
317 | 317 |
|
318 |
public ROI getROI(String roiName) { |
|
319 |
|
|
320 |
return (ROI) getRois().get(roiName); |
|
318 |
public ROIChart getROI(String roiName) { |
|
319 |
return (ROIChart) getScatterPlotPanel().getChart().getROIChartList().getListRois().get(roiName); |
|
321 | 320 |
} |
322 | 321 |
|
323 | 322 |
/** |
... | ... | |
378 | 377 |
|
379 | 378 |
public void changeRoiName(String currentName, String newName) { |
380 | 379 |
getROI(currentName).setName(newName); |
381 |
getRois().put(newName, getRois().remove(currentName)); |
|
382 |
getRoiGraphics().put(newName, getRoiGraphics().remove(currentName)); |
|
380 |
scatterPlotPanel.getChart().getROIChartList().getListRois().put(newName, scatterPlotPanel.getChart().getROIChartList().getListRois().remove(currentName)); |
|
383 | 381 |
} |
384 | 382 |
|
385 | 383 |
public void sortTable(){ |
Also available in: Unified diff