Browse Source

图标切换

master
Fangjie Hu 8 years ago
parent
commit
bee93e7613
  1. 1
      designer_chart/src/com/fr/design/mainframe/chart/ChartEditPane.java
  2. 3
      designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

1
designer_chart/src/com/fr/design/mainframe/chart/ChartEditPane.java

@ -4,7 +4,6 @@ package com.fr.design.mainframe.chart;
import com.fr.base.BaseUtils;
import com.fr.chart.chartattr.Chart;
import com.fr.chart.chartattr.ChartCollection;
import com.fr.chart.chartattr.SwitchState;
import com.fr.design.ChartTypeInterfaceManager;
import com.fr.design.beans.FurtherBasicBeanPane;
import com.fr.design.data.DesignTableDataManager;

3
designer_chart/src/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

@ -272,9 +272,8 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen
private void checkConfigButtonVisible() {
addButton.setVisible(true);
configButton.setVisible(true);
//新建一个collection
if(editingCollection.getState() == SwitchState.CHANGE){
if(editingCollection.getState() == SwitchState.DEFAULT){
//Chart 不支持图表切换
configButton.setVisible(editingCollection.getSelectedChart().supportChange());
}

Loading…
Cancel
Save