Revision 17681 trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/scatterplot/gui/ManagerROIChartPanel.java
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