Browse Source

Pull request #8213: CHART-22972 HyperlinkProvider接口对图表超链不起作用

Merge in DESIGN/design from ~PENGDA/design:release/10.0 to release/10.0

* commit '6cf461450ef13a20d0233e3194b1ac4f12a4dbbe':
  CHART-22972 HyperlinkProvider接口对图表超链不起作用
security/10.0
pengda 3 years ago
parent
commit
da9c94cf5d
  1. 7
      designer-chart/src/main/java/com/fr/van/chart/custom/component/VanChartHyperLinkPane.java

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

@ -158,8 +158,11 @@ 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());
size++;
NameableCreator creator = provider.createHyperlinkCreator();
if (creator != null) {
creators[size] = new NameObjectCreator(creator.menuName(), creator.getHyperlink(), creator.getUpdatePane());
size++;
}
}
refreshNameableCreator(creators);

Loading…
Cancel
Save