diff --git a/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java b/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java index 7ee033f8df..b93118409b 100644 --- a/designer-chart/src/com/fr/van/chart/drillmap/designer/other/VanChartCatalogHyperLinkPane.java +++ b/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 getHyperLinkEditorMap() { + HashMap map = new HashMap(); + 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);