From c2d77f33eaf67bcc28f0b4bcc91c1e3da7ef3e45 Mon Sep 17 00:00:00 2001 From: juhaoyu <2335173323@qq.com> Date: Thu, 7 Sep 2017 18:32:08 +0800 Subject: [PATCH] =?UTF-8?q?PFC-607=20=E6=8F=92=E4=BB=B6=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9B=B4=E6=96=B0=E4=B8=8D=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20=E6=8F=92=E4=BB=B6=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=B8=8D=E6=94=BE=E5=88=B0StableFactory=E9=87=8C=EF=BC=8C?= =?UTF-8?q?=E4=BF=9D=E8=AF=81=E8=99=9A=E6=8B=9F=E6=9C=BA=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=90=8E=E5=AF=B9=E8=B1=A1=E4=B8=80=E7=9B=B4=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_base/src/com/fr/design/ExtraDesignClassManager.java | 3 +-- .../src/com/fr/design/ChartTypeInterfaceManager.java | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/designer_base/src/com/fr/design/ExtraDesignClassManager.java b/designer_base/src/com/fr/design/ExtraDesignClassManager.java index fe11379c48..ce58789465 100644 --- a/designer_base/src/com/fr/design/ExtraDesignClassManager.java +++ b/designer_base/src/com/fr/design/ExtraDesignClassManager.java @@ -25,7 +25,6 @@ import com.fr.plugin.AbstractExtraClassManager; import com.fr.plugin.injectable.PluginModule; import com.fr.plugin.injectable.PluginSingleInjection; import com.fr.plugin.solution.closeable.CloseableContainedSet; -import com.fr.stable.bridge.StableFactory; import com.fr.stable.plugin.ExtraDesignClassManagerProvider; import java.util.ArrayList; @@ -52,7 +51,7 @@ public class ExtraDesignClassManager extends AbstractExtraClassManager implement } static { - StableFactory.registerMarkedObject(PluginModule.ExtraDesign.getAgentName(), classManager); + PluginModule.registerAgent(PluginModule.ExtraDesign, classManager); } public TableDataNameObjectCreator[] getReportTableDataCreators() { diff --git a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java index df150a3f11..adc29477fd 100644 --- a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java +++ b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java @@ -81,12 +81,12 @@ import com.fr.plugin.chart.treemap.VanChartTreeMapPlot; import com.fr.plugin.chart.vanchart.imgevent.design.DesignImageEvent; import com.fr.plugin.chart.wordcloud.VanChartWordCloudPlot; import com.fr.plugin.chart.wordcloud.designer.WordCloudIndependentVanChartInterface; +import com.fr.plugin.injectable.PluginModule; import com.fr.plugin.injectable.PluginSingleInjection; import com.fr.plugin.solution.closeable.CloseableContainedMap; import com.fr.stable.ArrayUtils; import com.fr.stable.EnvChangedListener; import com.fr.stable.StringUtils; -import com.fr.stable.bridge.StableFactory; import com.fr.stable.plugin.ExtraChartDesignClassManagerProvider; import javax.swing.*; @@ -115,7 +115,7 @@ public class ChartTypeInterfaceManager implements ExtraChartDesignClassManagerPr static { readDefault(); readVanChart(); - StableFactory.registerMarkedObject(XML_TAG, classManager); + PluginModule.registerAgent(PluginModule.ExtraChartDesign, classManager); } static {