From 8d64d45fc369d54c6b4e509f04a953533c973397 Mon Sep 17 00:00:00 2001 From: mengao <283296419@qq.com> Date: Sat, 27 May 2017 10:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=BD=BF=E7=94=A8form=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=8F=91=E7=8E=B0form=E9=87=8C=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E8=A1=A8=E7=BC=96=E8=BE=91=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8=E5=8A=A0=E8=BD=BD=EF=BC=8C?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E4=BF=AE=E6=94=B9=E4=B8=8B=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E7=BC=96=E8=BE=91=E9=9D=A2=E6=9D=BF=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer/src/com/fr/quickeditor/ChartQuickEditor.java | 4 +--- .../src/com/fr/design/mainframe/MiddleChartPropertyPane.java | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/designer/src/com/fr/quickeditor/ChartQuickEditor.java b/designer/src/com/fr/quickeditor/ChartQuickEditor.java index 48033aa23..452367ad3 100644 --- a/designer/src/com/fr/quickeditor/ChartQuickEditor.java +++ b/designer/src/com/fr/quickeditor/ChartQuickEditor.java @@ -45,10 +45,8 @@ public class ChartQuickEditor extends QuickEditor{ element = ((ElementCasePane)tc).getEditingElementCase().getFloatElement(fs.getSelectedFloatName()); } collection = (BaseChartCollection) element.getValue(); - String plotID=((ChartCollection)collection).getSelectedChart().getPlot().getPlotID(); add(editingPropertyPane = DesignModuleFactory.getChartPropertyPane(), BorderLayout.CENTER); - editingPropertyPane.addChartEditPane(plotID); - editingPropertyPane.setSupportCellData(true); + } editingPropertyPane.populateChartPropertyPane(collection, tc); } diff --git a/designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java b/designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java index 1195b2f02..4616c8ccc 100644 --- a/designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java +++ b/designer_chart/src/com/fr/design/mainframe/MiddleChartPropertyPane.java @@ -87,6 +87,8 @@ public abstract class MiddleChartPropertyPane extends BaseChartPropertyPane{ * @param ePane 面板 */ public void populateChartPropertyPane(ChartCollection collection, TargetComponent ePane) { + addChartEditPane(collection.getSelectedChart().getPlot().getPlotID()); + setSupportCellData(true); this.container.setEPane(ePane); chartEditPane.populate(collection); }