Browse Source

CHART-2466 钻取目录 参数只有区域名

master
zheng 6 years ago
parent
commit
13eab08450
  1. 14
      designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java

14
designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java

@ -1,15 +1,29 @@
package com.fr.van.chart.drillmap.designer.other;
import com.fr.base.BaseFormula;
import com.fr.chart.chartattr.Plot;
import com.fr.extended.chart.HyperLinkPara;
import com.fr.extended.chart.HyperLinkParaHelper;
import com.fr.js.NameJavaScriptGroup;
import com.fr.plugin.chart.drillmap.VanChartDrillMapPlot;
import com.fr.van.chart.custom.component.VanChartHyperLinkPane;
import java.util.HashMap;
import java.util.Map;
/**
* Created by hufan on 2016/12/13.
*/
public class VanChartCatalogHyperLinkPane extends VanChartHyperLinkPane {
protected Map<String, BaseFormula> getHyperLinkEditorMap() {
HashMap<String, BaseFormula> map = new HashMap<String, BaseFormula>();
for (HyperLinkPara para : HyperLinkParaHelper.DRILL_TOOLS) {
map.put(para.getName(), BaseFormula.createFormulaBuilder().build(para.getFormulaContent()));
}
return map;
}
protected void updateHotHyperLink(Plot plot, NameJavaScriptGroup nameGroup) {
if (plot instanceof VanChartDrillMapPlot) {
((VanChartDrillMapPlot) plot).setDrillUpHyperLink(nameGroup);

Loading…
Cancel
Save