diff --git a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java index c7baf652fa..c850a4ae5b 100644 --- a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java +++ b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java @@ -16,7 +16,7 @@ import com.fr.design.gui.core.WidgetOption; import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.ChartEditPane; -import com.fr.design.mainframe.chart.ThirdChartConfigPane; +import com.fr.design.mainframe.chart.ChartsConfigPane; import com.fr.design.mainframe.chart.gui.ChartDataPane; import com.fr.design.mainframe.chart.gui.ChartStylePane; import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; @@ -432,7 +432,7 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh return chartTypeInterfaces.get(priority).get(plotID).getChartEditPane(plotID); } - public ThirdChartConfigPane getChartConfigPane(String plotID) { + public ChartsConfigPane getChartConfigPane(String plotID) { Iterator iterator = chartTypeInterfaces.entrySet().iterator(); while (iterator.hasNext()) { Map.Entry entry = (Map.Entry) iterator.next(); @@ -444,7 +444,7 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh return getChartConfigPane(ChartTypeManager.CHART_PRIORITY, plotID); } - private ThirdChartConfigPane getChartConfigPane(String priority, String plotID) { + private ChartsConfigPane getChartConfigPane(String priority, String plotID) { return chartTypeInterfaces.get(priority).get(plotID).getChartConfigPane(plotID); } diff --git a/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java b/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java index fd97d39f0a..70fcc4ca46 100644 --- a/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java +++ b/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java @@ -6,7 +6,7 @@ import com.fr.design.condition.ConditionAttributesPane; import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.ChartEditPane; -import com.fr.design.mainframe.chart.ThirdChartConfigPane; +import com.fr.design.mainframe.chart.ChartsConfigPane; import com.fr.design.mainframe.chart.gui.ChartDataPane; import com.fr.design.mainframe.chart.gui.ChartStylePane; import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; @@ -94,6 +94,6 @@ public interface IndependentChartUIProvider extends Level { ChartEditPane getChartEditPane(String plotID); - ThirdChartConfigPane getChartConfigPane(String plotID); + ChartsConfigPane getChartConfigPane(String plotID); } \ No newline at end of file diff --git a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI.java b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI.java index 6eef8ad0e1..848fc44367 100644 --- a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI.java +++ b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI.java @@ -8,7 +8,7 @@ import com.fr.design.condition.ConditionAttributesPane; import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.ChartEditPane; -import com.fr.design.mainframe.chart.ThirdChartConfigPane; +import com.fr.design.mainframe.chart.ChartsConfigPane; import com.fr.design.mainframe.chart.gui.ChartDataPane; import com.fr.design.mainframe.chart.gui.ChartStylePane; import com.fr.general.ComparatorUtils; @@ -60,7 +60,7 @@ public abstract class AbstractIndependentChartUI implements IndependentChartUIPr public ChartEditPane getChartEditPane(String plotID){ return StableUtils.construct(ChartEditPane.class);} - public ThirdChartConfigPane getChartConfigPane(String plotID){return null;} + public ChartsConfigPane getChartConfigPane(String plotID){return null;} } \ No newline at end of file diff --git a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java index c3db572167..8aa412a6e3 100644 --- a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java +++ b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java @@ -8,7 +8,7 @@ import com.fr.design.condition.ConditionAttributesPane; import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.ChartEditPane; -import com.fr.design.mainframe.chart.ThirdChartConfigPane; +import com.fr.design.mainframe.chart.ChartsConfigPane; import com.fr.design.mainframe.chart.gui.ChartDataPane; import com.fr.design.mainframe.chart.gui.ChartStylePane; import com.fr.general.ComparatorUtils; @@ -71,5 +71,5 @@ public abstract class AbstractIndependentChartUIWithAPILevel implements Independ public ChartEditPane getChartEditPane(String plotID){ return StableUtils.construct(ChartEditPane.class);} - public ThirdChartConfigPane getChartConfigPane(String plotID){return null;} + public ChartsConfigPane getChartConfigPane(String plotID){return null;} } diff --git a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI4Custom.java b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartsUI.java similarity index 93% rename from designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI4Custom.java rename to designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartsUI.java index ae9b8176b9..fbd3ce36f1 100644 --- a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUI4Custom.java +++ b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartsUI.java @@ -7,7 +7,7 @@ import com.fr.design.condition.ConditionAttributesPane; import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.ChartEditPane; -import com.fr.design.mainframe.chart.ThirdChartEditPane; +import com.fr.design.mainframe.chart.ChartsEditPane; import com.fr.design.mainframe.chart.gui.ChartDataPane; import com.fr.design.mainframe.chart.gui.ChartStylePane; import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; @@ -26,7 +26,7 @@ import com.fr.stable.fun.mark.API; */ @API(level = IndependentChartUIProvider.CURRENT_API_LEVEL) -public abstract class AbstractIndependentChartUI4Custom extends AbstractProvider implements IndependentChartUIProvider { +public abstract class AbstractIndependentChartsUI extends AbstractProvider implements IndependentChartUIProvider { public String mark4Provider() { return getClass().getName(); @@ -97,7 +97,7 @@ public abstract class AbstractIndependentChartUI4Custom extends AbstractProvider @Override public ChartEditPane getChartEditPane(String plotID) { - return new ThirdChartEditPane(); + return new ChartsEditPane(); } } \ No newline at end of file diff --git a/designer_chart/src/com/fr/design/mainframe/chart/ThirdChartConfigPane.java b/designer_chart/src/com/fr/design/mainframe/chart/ChartsConfigPane.java similarity index 91% rename from designer_chart/src/com/fr/design/mainframe/chart/ThirdChartConfigPane.java rename to designer_chart/src/com/fr/design/mainframe/chart/ChartsConfigPane.java index 7cfbb417cf..76e674eb88 100644 --- a/designer_chart/src/com/fr/design/mainframe/chart/ThirdChartConfigPane.java +++ b/designer_chart/src/com/fr/design/mainframe/chart/ChartsConfigPane.java @@ -8,7 +8,7 @@ import javax.swing.*; /** * Created by mengao on 2017/5/16. */ -public class ThirdChartConfigPane extends AbstractChartAttrPane { +public class ChartsConfigPane extends AbstractChartAttrPane { public final static String CHART_STYLE_TITLE = Inter.getLocText("Chart-Style_Name"); diff --git a/designer_chart/src/com/fr/design/mainframe/chart/ThirdChartEditPane.java b/designer_chart/src/com/fr/design/mainframe/chart/ChartsEditPane.java similarity index 74% rename from designer_chart/src/com/fr/design/mainframe/chart/ThirdChartEditPane.java rename to designer_chart/src/com/fr/design/mainframe/chart/ChartsEditPane.java index bc67136bb3..b012e95795 100644 --- a/designer_chart/src/com/fr/design/mainframe/chart/ThirdChartEditPane.java +++ b/designer_chart/src/com/fr/design/mainframe/chart/ChartsEditPane.java @@ -10,20 +10,20 @@ import java.util.ArrayList; /** * Created by mengao on 2017/5/3. */ -public class ThirdChartEditPane extends ChartEditPane { +public class ChartsEditPane extends ChartEditPane { - protected ThirdChartConfigPane thirdChartConfigPane; + protected ChartsConfigPane chartsConfigPane; - public ThirdChartEditPane() { + public ChartsEditPane() { this.setLayout(new BorderLayout()); paneList = new ArrayList(); dataPane4SupportCell = new ChartDataPane(listener); dataPane4SupportCell.setSupportCellData(true); - thirdChartConfigPane= new ThirdChartConfigPane(); + chartsConfigPane = new ChartsConfigPane(); paneList.add(dataPane4SupportCell); - paneList.add(thirdChartConfigPane); + paneList.add(chartsConfigPane); createTabsPane(); } @@ -44,9 +44,9 @@ public class ThirdChartEditPane extends ChartEditPane { } dataPane4SupportCell = createChartDataPane(plotID); - thirdChartConfigPane= ChartTypeInterfaceManager.getInstance().getChartConfigPane(plotID); + chartsConfigPane = ChartTypeInterfaceManager.getInstance().getChartConfigPane(plotID); paneList.add(dataPane4SupportCell); - paneList.add(thirdChartConfigPane); + paneList.add(chartsConfigPane); createTabsPane(); }