|
|
@ -21,7 +21,6 @@ import com.fr.design.mainframe.chart.gui.ChartTypePane; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
import javax.swing.event.ChangeListener; |
|
|
|
import javax.swing.event.ChangeListener; |
|
|
@ -154,7 +153,9 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4 |
|
|
|
this.isDefaultPane = true; |
|
|
|
this.isDefaultPane = true; |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
ChartDataPane chartDataPane = createChartDataPane(plotID); |
|
|
|
ChartDataPane chartDataPane = createChartDataPane(plotID); |
|
|
|
|
|
|
|
if (chartDataPane != null) { |
|
|
|
paneList.add(chartDataPane); |
|
|
|
paneList.add(chartDataPane); |
|
|
|
|
|
|
|
} |
|
|
|
AbstractChartAttrPane[] otherPaneList = ChartTypeInterfaceManager.getInstance().getAttrPaneArray(plotID, listener); |
|
|
|
AbstractChartAttrPane[] otherPaneList = ChartTypeInterfaceManager.getInstance().getAttrPaneArray(plotID, listener); |
|
|
|
for(int i = 0; i < otherPaneList.length; i++){ |
|
|
|
for(int i = 0; i < otherPaneList.length; i++){ |
|
|
|
otherPaneList[i].addAttributeChangeListener(listener); |
|
|
|
otherPaneList[i].addAttributeChangeListener(listener); |
|
|
@ -169,7 +170,9 @@ public class ChartEditPane extends BasicPane implements AttributeChange,Prepare4 |
|
|
|
|
|
|
|
|
|
|
|
protected ChartDataPane createChartDataPane(String plotID) { |
|
|
|
protected ChartDataPane createChartDataPane(String plotID) { |
|
|
|
ChartDataPane chartDataPane = ChartTypeInterfaceManager.getInstance().getChartDataPane(plotID, listener); |
|
|
|
ChartDataPane chartDataPane = ChartTypeInterfaceManager.getInstance().getChartDataPane(plotID, listener); |
|
|
|
|
|
|
|
if (chartDataPane != null) { |
|
|
|
chartDataPane.setSupportCellData(dataPane4SupportCell.isSupportCellData()); |
|
|
|
chartDataPane.setSupportCellData(dataPane4SupportCell.isSupportCellData()); |
|
|
|
|
|
|
|
} |
|
|
|
return chartDataPane; |
|
|
|
return chartDataPane; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|