Browse Source

CHART-10603 旧版本图表的name和path处理

research/11.0
白岳 5 years ago
parent
commit
9de0784d64
  1. 11
      designer-chart/src/main/java/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java
  2. 32
      designer-chart/src/main/java/com/fr/design/chartinterface/AreaIndependentChartInterface.java
  3. 42
      designer-chart/src/main/java/com/fr/design/chartinterface/BarIndependentChartInterface.java
  4. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/BubbleIndependentChartInterface.java
  5. 42
      designer-chart/src/main/java/com/fr/design/chartinterface/ColumnIndependentChartInterface.java
  6. 20
      designer-chart/src/main/java/com/fr/design/chartinterface/CustomIndependentChartInterface.java
  7. 22
      designer-chart/src/main/java/com/fr/design/chartinterface/DonutIndependentChartInterface.java
  8. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/FunnelIndependentChartInterface.java
  9. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/GanttIndependentChartInterface.java
  10. 23
      designer-chart/src/main/java/com/fr/design/chartinterface/GisMapIndependentChartInterface.java
  11. 20
      designer-chart/src/main/java/com/fr/design/chartinterface/LineIndependentChartInterface.java
  12. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/MapIndependentChartInterface.java
  13. 24
      designer-chart/src/main/java/com/fr/design/chartinterface/MeterIndependentChartInterface.java
  14. 23
      designer-chart/src/main/java/com/fr/design/chartinterface/PieIndependentChartInterface.java
  15. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/RadarIndependentChartInterface.java
  16. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/RangeIndependentChartInterface.java
  17. 19
      designer-chart/src/main/java/com/fr/design/chartinterface/StockIndependentChartInterface.java
  18. 20
      designer-chart/src/main/java/com/fr/design/chartinterface/XYScatterIndependentChartInterface.java

11
designer-chart/src/main/java/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java

@ -37,22 +37,11 @@ public abstract class AbstractIndependentChartUIWithAPILevel implements ChartTyp
return new ChartDataPane(listener);
}
//todo@bjornrefactor 适配旧版本图表后 删掉下面两个方法
@Override
public String getName() {
return null;
}
@Override
public String[] getSubName() {
return new String[0];
}
@Override
public String[] getDemoImagePath() {
return new String[0];
}
/**
* 是否使用默认的界面为了避免界面来回切换
* @return 是否使用默认的界面

32
designer-chart/src/main/java/com/fr/design/chartinterface/AreaIndependentChartInterface.java

@ -16,6 +16,7 @@ import com.fr.design.mainframe.chart.gui.style.series.Area3DSeriesPane;
import com.fr.design.mainframe.chart.gui.style.series.AreaSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.AreaPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -44,10 +45,41 @@ public class AreaIndependentChartInterface extends AbstractIndependentChartUIWit
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Area.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Area");
}
@Override
public String[] getSubName() {
String chartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Area");
String stackChartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Stacked") + chartName;
String perStackChartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Use_Percent") + stackChartName;
String stackChartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + stackChartName;
String perStackChartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + perStackChartName;
return new String[]{
stackChartName,
perStackChartName,
stackChartName3D,
perStackChartName3D
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/areastacked.png",
"com/fr/plugin/chart/demo/image/areastackedpercent.png",
"com/fr/plugin/chart/demo/image/areastacked3D.png",
"com/fr/plugin/chart/demo/image/areastackedpercent3D.png",
};
}
}

42
designer-chart/src/main/java/com/fr/design/chartinterface/BarIndependentChartInterface.java

@ -17,6 +17,7 @@ import com.fr.design.mainframe.chart.gui.style.series.Bar2DSeriesPane;
import com.fr.design.mainframe.chart.gui.style.series.Bar3DSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.BarPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -46,10 +47,51 @@ public class BarIndependentChartInterface extends AbstractIndependentChartUIWith
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Bar.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Bar");
}
@Override
public String[] getSubName() {
String chartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Bar");
String stackChartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Stacked") + chartName;
String perStackChartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Use_Percent") + stackChartName;
String chartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + chartName;
String chartNameHoriz3D = chartName3D + "(" + InterProviderFactory.getProvider().getLocText("Fine-Engine_Report_Utils_Left_To_Right") + ")";
String stackChartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + stackChartName;
String perStackChartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + perStackChartName;
//依次,条形图-旧版本、堆积条形图-旧版本、百分比堆积条形图-旧版本、三维条形图-旧版本、三维条形图-旧版本(横向)、三维堆积条形图-旧版本、三维百分比堆积条形图-旧版本
return new String[]{
chartName,
stackChartName,
perStackChartName,
chartName3D,
chartNameHoriz3D,
stackChartName3D,
perStackChartName3D
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/bar.png",
"com/fr/plugin/chart/demo/image/barstacked.png",
"com/fr/plugin/chart/demo/image/barstackedpercent.png",
"com/fr/plugin/chart/demo/image/bar3D.png",
"com/fr/plugin/chart/demo/image/bar3D(cross).png",
"com/fr/plugin/chart/demo/image/barstacked3D.png",
"com/fr/plugin/chart/demo/image/barstackedpercent3D.png"
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/BubbleIndependentChartInterface.java

@ -14,6 +14,7 @@ import com.fr.design.mainframe.chart.gui.data.table.BubblePlotTableDataContentPa
import com.fr.design.mainframe.chart.gui.style.series.BubbleSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.BubblePlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -48,4 +49,22 @@ public class BubbleIndependentChartInterface extends AbstractIndependentChartUIW
return new BubblePlotDataSeriesConditionPane();
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Bubble_Chart");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Bubble_Chart")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/bubble.png"
};
}
}

42
designer-chart/src/main/java/com/fr/design/chartinterface/ColumnIndependentChartInterface.java

@ -17,6 +17,7 @@ import com.fr.design.mainframe.chart.gui.style.series.Bar2DSeriesPane;
import com.fr.design.mainframe.chart.gui.style.series.Bar3DSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.ColumnPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -47,9 +48,50 @@ public class ColumnIndependentChartInterface extends AbstractIndependentChartUIW
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Column.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Column");
}
@Override
public String[] getSubName() {
String chartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Column");
String stackChartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Stacked") + chartName;
String perStackChartName = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Use_Percent") + stackChartName;
String chartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D")+ chartName;
String chartNameHoriz3D = chartName3D + "(" + InterProviderFactory.getProvider().getLocText("Fine-Engine_Report_Utils_Left_To_Right") + ")";
String stackChartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + stackChartName;
String perStackChartName3D = InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + perStackChartName;
//依次,柱形图-旧版本、堆积柱形图-旧版本、百分比堆积柱形图-旧版本、三维柱形图-旧版本、三维柱形图-旧版本(横向)、三维堆积柱形图-旧版本、三维百分比堆积柱形图-旧版本
return new String[]{
chartName,
stackChartName,
perStackChartName,
chartName3D,
chartNameHoriz3D,
stackChartName3D,
perStackChartName3D
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/column.png",
"com/fr/plugin/chart/demo/image/columnstacked.png",
"com/fr/plugin/chart/demo/image/columnstackedpercent.png",
"com/fr/plugin/chart/demo/image/column3D.png",
"com/fr/plugin/chart/demo/image/column3D(cross).png",
"com/fr/plugin/chart/demo/image/columnstacked3D.png",
"com/fr/plugin/chart/demo/image/columnstackedpercent3D.png"
};
}
}

20
designer-chart/src/main/java/com/fr/design/chartinterface/CustomIndependentChartInterface.java

@ -14,6 +14,7 @@ import com.fr.design.mainframe.chart.gui.data.table.CategoryPlotTableDataContent
import com.fr.design.mainframe.chart.gui.style.series.CustomSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.CustomPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -43,10 +44,29 @@ public class CustomIndependentChartInterface extends AbstractIndependentChartUIW
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Comb_Chart.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Combine");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Combine")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/custom.png"
};
}
}

22
designer-chart/src/main/java/com/fr/design/chartinterface/DonutIndependentChartInterface.java

@ -16,6 +16,7 @@ import com.fr.design.mainframe.chart.gui.style.series.Donut2DSeriesPane;
import com.fr.design.mainframe.chart.gui.style.series.Donut3DSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.DonutPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -45,10 +46,31 @@ public class DonutIndependentChartInterface extends AbstractIndependentChartUIWi
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Donut.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Donut");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Donut"),
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Donut")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/donut2D.png",
"com/fr/plugin/chart/demo/image/donut3D.png"
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/FunnelIndependentChartInterface.java

@ -14,6 +14,7 @@ import com.fr.design.mainframe.chart.gui.data.table.PiePlotTableDataContentPane;
import com.fr.design.mainframe.chart.gui.style.series.FunnelSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.FunnelPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -49,4 +50,22 @@ public class FunnelIndependentChartInterface extends AbstractIndependentChartUIW
return "com/fr/design/images/form/toolbar/ChartF-Funnel.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Funnel");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Funnel")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/funnel.png"
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/GanttIndependentChartInterface.java

@ -11,6 +11,7 @@ import com.fr.design.mainframe.chart.gui.data.table.AbstractTableDataContentPane
import com.fr.design.mainframe.chart.gui.data.table.GanttPlotTableDataContentPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.GanttPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -42,4 +43,22 @@ public class GanttIndependentChartInterface extends AbstractIndependentChartUIWi
return "com/fr/design/images/form/toolbar/ChartF-Gantt.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Gantt");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Gantt")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/gantt.png"
};
}
}

23
designer-chart/src/main/java/com/fr/design/chartinterface/GisMapIndependentChartInterface.java

@ -7,6 +7,7 @@ import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPa
import com.fr.design.mainframe.chart.gui.data.table.AbstractTableDataContentPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.GisMapPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -25,12 +26,34 @@ public class GisMapIndependentChartInterface extends AbstractIndependentChartUIW
public AbstractReportDataContentPane getReportDataSourcePane(Plot plot, ChartDataPane parent) {
return null;
}
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Gis.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_GIS_Map");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Map_BaiduMap"),
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Map_GoogleMap")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/gismap.png",
"com/fr/plugin/chart/demo/image/gismap.png"
};
}
}

20
designer-chart/src/main/java/com/fr/design/chartinterface/LineIndependentChartInterface.java

@ -15,6 +15,7 @@ import com.fr.design.mainframe.chart.gui.data.table.CategoryPlotMoreCateTableDat
import com.fr.design.mainframe.chart.gui.style.series.LineSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.LinePlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -44,10 +45,29 @@ public class LineIndependentChartInterface extends AbstractIndependentChartUIWit
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Line.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Line");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Line")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/line.png"
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/MapIndependentChartInterface.java

@ -12,6 +12,7 @@ import com.fr.design.mainframe.chart.gui.data.table.AbstractTableDataContentPane
import com.fr.design.mainframe.chart.gui.style.series.MapSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.MapPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -47,4 +48,22 @@ public class MapIndependentChartInterface extends AbstractIndependentChartUIWith
return "com/fr/design/images/form/toolbar/Chart-Map.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_SVG_MAP");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_SVG_MAP")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/map.png"
};
}
}

24
designer-chart/src/main/java/com/fr/design/chartinterface/MeterIndependentChartInterface.java

@ -12,6 +12,7 @@ import com.fr.design.mainframe.chart.gui.data.table.MeterPlotTableDataContentPan
import com.fr.design.mainframe.chart.gui.style.series.MeterSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.MeterPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -37,10 +38,33 @@ public class MeterIndependentChartInterface extends AbstractIndependentChartUIWi
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Meter.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Meter");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Meter"),
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Meter"),
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Meter")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/meter.png",
"com/fr/plugin/chart/demo/image/meterblue.png",
"com/fr/plugin/chart/demo/image/metersimple.png"
};
}
}

23
designer-chart/src/main/java/com/fr/design/chartinterface/PieIndependentChartInterface.java

@ -16,6 +16,7 @@ import com.fr.design.mainframe.chart.gui.style.series.Pie2DSeriesPane;
import com.fr.design.mainframe.chart.gui.style.series.Pie3DSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.PiePlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -45,10 +46,32 @@ public class PieIndependentChartInterface extends AbstractIndependentChartUIWith
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-Pie.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Pie");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Pie"),
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_3D") + InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Pie")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/pie.png",
"com/fr/plugin/chart/demo/image/pie3D.png",
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/RadarIndependentChartInterface.java

@ -14,6 +14,7 @@ import com.fr.design.mainframe.chart.gui.data.table.CategoryPlotTableDataContent
import com.fr.design.mainframe.chart.gui.style.series.RadarSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.RadarPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -50,4 +51,22 @@ public class RadarIndependentChartInterface extends AbstractIndependentChartUIWi
return "com/fr/design/images/form/toolbar/ChartF-Radar.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Radar");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Radar")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/radar.png"
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/RangeIndependentChartInterface.java

@ -12,6 +12,7 @@ import com.fr.design.mainframe.chart.gui.data.table.CategoryPlotTableDataContent
import com.fr.design.mainframe.chart.gui.style.series.RangeSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.RangePlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -43,4 +44,22 @@ public class RangeIndependentChartInterface extends AbstractIndependentChartUIWi
return "com/fr/design/images/form/toolbar/ChartF-Range_Chart.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Range");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Range")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/range.png"
};
}
}

19
designer-chart/src/main/java/com/fr/design/chartinterface/StockIndependentChartInterface.java

@ -15,6 +15,7 @@ import com.fr.design.mainframe.chart.gui.data.table.StockPlotTableDataContentPan
import com.fr.design.mainframe.chart.gui.style.series.StockSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.StockPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -50,4 +51,22 @@ public class StockIndependentChartInterface extends AbstractIndependentChartUIWi
return "com/fr/design/images/form/toolbar/ChartF-Stock.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Stock");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_Stock")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/stock.png"
};
}
}

20
designer-chart/src/main/java/com/fr/design/chartinterface/XYScatterIndependentChartInterface.java

@ -15,6 +15,7 @@ import com.fr.design.mainframe.chart.gui.data.table.XYScatterPlotTableDataConten
import com.fr.design.mainframe.chart.gui.style.series.XYScatterSeriesPane;
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane;
import com.fr.design.mainframe.chart.gui.type.XYScatterPlotPane;
import com.fr.locale.InterProviderFactory;
/**
* Created by eason on 15/4/21.
@ -45,10 +46,29 @@ public class XYScatterIndependentChartInterface extends AbstractIndependentChart
/**
* 图标路径
*
* @return 图标路径
*/
public String getIconPath() {
return "com/fr/design/images/form/toolbar/ChartF-XYScatter.png";
}
@Override
public String getName() {
return InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_XYScatter");
}
@Override
public String[] getSubName() {
return new String[]{
InterProviderFactory.getProvider().getLocText("Fine-Engine_Chart_Type_XYScatter")
};
}
@Override
public String[] getDemoImagePath() {
return new String[]{
"com/fr/plugin/chart/demo/image/point.png"
};
}
}
Loading…
Cancel
Save