Browse Source

Merge pull request #8218 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit 'e3f9303afb2a3499616e4def35bddce2bf1dbfb9':
  CHART-22972 HyperlinkProvider接口对图表超链不起作用
feature/10.0
superman 3 years ago
parent
commit
16a418622c
  1. 5
      designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartHyperLinkPane.java

5
designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartHyperLinkPane.java

@ -158,9 +158,12 @@ public class VanChartHyperLinkPane extends VanChartUIListControlPane {
creators[i] = new NameObjectCreator(uiMenuNameableCreator.getName(), uiMenuNameableCreator.getObj().getClass(), uiMenuNameableCreator.getPaneClazz());
}
for (HyperlinkProvider provider : providers) {
creators[size] = new NameObjectCreator(provider.text(), provider.target(), provider.appearance());
NameableCreator creator = provider.createHyperlinkCreator();
if (creator != null) {
creators[size] = new NameObjectCreator(creator.menuName(), creator.getHyperlink(), creator.getUpdatePane());
size++;
}
}
refreshNameableCreator(creators);

Loading…
Cancel
Save