Browse Source

插件中添加API_LEVEL

pull/1/head
richie 9 years ago
parent
commit
49cd042501
  1. 10
      plugin.xml
  2. 4
      src/com/fr/solution/plugin/chart/echarts/common/base/AbstractIndependentEChartsProvider.java
  3. 5
      src/com/fr/solution/plugin/chart/echarts/common/ui/AbstractIndependentEChartsUI.java
  4. BIN
      安装包/fr-plugin-echarts-2.0.zip

10
plugin.xml

@ -3,11 +3,11 @@
<id>com.fr.solution.plugin.chart.echarts</id> <id>com.fr.solution.plugin.chart.echarts</id>
<name><![CDATA[ECharts图表]]></name> <name><![CDATA[ECharts图表]]></name>
<active>yes</active> <active>yes</active>
<version>2.1</version> <version>2.2</version>
<env-version>8.0</env-version> <env-version>8.0</env-version>
<jartime>2016-02-22</jartime> <jartime>2016-03-10</jartime>
<vendor email="solution@finereport.com">solution</vendor> <vendor email="solution@finereport.com">solution</vendor>
<description><![CDATA[ECharts图表,源码和效果图可查看<a href="http://www.finedevelop.com:2015/projects/FS/repos/plugin-echarts-public">这里</a>.]]></description> <description><![CDATA[ECharts图表源码和效果图可查看<a href="http://www.finedevelop.com:2015/projects/FS/repos/plugin-echarts-public">这里</a>。如果有其他类型的图表开发需求,可以联系solution@finereport.com。]]></description>
<change-notes><![CDATA[ <change-notes><![CDATA[
<p>[2016-02-18]饼图(支持多分类饼图)</p> <p>[2016-02-18]饼图(支持多分类饼图)</p>
<p>[2016-03-03]增加国际化支持(美国英语)</p> <p>[2016-03-03]增加国际化支持(美国英语)</p>
@ -22,14 +22,10 @@
<extra-chart> <extra-chart>
<IndependentChartProvider class="com.fr.solution.plugin.chart.echarts.pie.EChartsPie" <IndependentChartProvider class="com.fr.solution.plugin.chart.echarts.pie.EChartsPie"
plotID="EChartsPiePlot"/> plotID="EChartsPiePlot"/>
<IndependentChartProvider class="com.fr.solution.plugin.chart.echarts.map.ChineseMap"
plotID="EChartsChinaMapPlot"/>
</extra-chart> </extra-chart>
<extra-chart-designer> <extra-chart-designer>
<IndependentChartUIProvider class="com.fr.solution.plugin.chart.echarts.pie.EChartsPieUI" <IndependentChartUIProvider class="com.fr.solution.plugin.chart.echarts.pie.EChartsPieUI"
plotID="EChartsPiePlot"/> plotID="EChartsPiePlot"/>
<IndependentChartUIProvider class="com.fr.solution.plugin.chart.echarts.map.ChineseMapUI"
plotID="EChartsChinaMapPlot"/>
</extra-chart-designer> </extra-chart-designer>
</plugin> </plugin>

4
src/com/fr/solution/plugin/chart/echarts/common/base/AbstractIndependentEChartsProvider.java

@ -1,11 +1,11 @@
package com.fr.solution.plugin.chart.echarts.common.base; package com.fr.solution.plugin.chart.echarts.common.base;
import com.fr.chart.fun.impl.AbstractIndependentChartProvider; import com.fr.chart.fun.impl.AbstractIndependentChartProviderWithAPILevel;
/** /**
* Created by richie on 16/1/29. * Created by richie on 16/1/29.
*/ */
public abstract class AbstractIndependentEChartsProvider extends AbstractIndependentChartProvider { public abstract class AbstractIndependentEChartsProvider extends AbstractIndependentChartProviderWithAPILevel {
@Override @Override
public String[] getRequiredJS() { public String[] getRequiredJS() {

5
src/com/fr/solution/plugin/chart/echarts/common/ui/AbstractIndependentEChartsUI.java

@ -1,14 +1,13 @@
package com.fr.solution.plugin.chart.echarts.common.ui; package com.fr.solution.plugin.chart.echarts.common.ui;
import com.fr.design.chart.fun.impl.AbstractIndependentChartUI; import com.fr.design.chart.fun.impl.AbstractIndependentChartUIWithAPILevel;
import com.fr.design.gui.frpane.AttributeChangeListener; import com.fr.design.gui.frpane.AttributeChangeListener;
import com.fr.design.mainframe.chart.AbstractChartAttrPane; import com.fr.design.mainframe.chart.AbstractChartAttrPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
/** /**
* Created by richie on 16/2/18. * Created by richie on 16/2/18.
*/ */
public abstract class AbstractIndependentEChartsUI extends AbstractIndependentChartUI { public abstract class AbstractIndependentEChartsUI extends AbstractIndependentChartUIWithAPILevel {
private EChartsStylePane stylePane; private EChartsStylePane stylePane;

BIN
安装包/fr-plugin-echarts-2.0.zip

Binary file not shown.
Loading…
Cancel
Save