|
|
|
@ -16,25 +16,27 @@ import com.fr.stable.ArrayUtils;
|
|
|
|
|
import com.fr.stable.bridge.StableFactory; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 图表的超级链接界面. 比一般的HyperlinkGroupPane多了图表的相关超级链接 |
|
|
|
|
* 图表的超级链接界面. 比一般的HyperlinkGroupPane多了图表的相关超级链接 |
|
|
|
|
* |
|
|
|
|
* @author kunsnat E-mail:kunsnat@gmail.com |
|
|
|
|
* @version 创建时间:2013-6-26 下午04:55:10 |
|
|
|
|
*/ |
|
|
|
|
public class ChartHyperlinkGroup extends BaseHyperlinkGroup { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 返回支持的超级链接类型 |
|
|
|
|
* @return NameableCreator[] |
|
|
|
|
*/ |
|
|
|
|
public NameableCreator[] getHyperlinkCreators() { |
|
|
|
|
FormHyperlinkProvider formHyperlink = StableFactory.getMarkedInstanceObjectFromClass(FormHyperlinkProvider.XML_TAG, FormHyperlinkProvider.class); |
|
|
|
|
|
|
|
|
|
NameableCreator[] realted4CharthyperUse = { |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Chart_Float_chart"), ChartHyperPoplink.class, ChartHyperPoplinkPane.CHART_NO_RENAME.class), |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Chart_Cell"), ChartHyperRelateCellLink.class, ChartHyperRelateCellLinkPane.CHART_NO_RENAME.class), |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Chart_Float"), ChartHyperRelateFloatLink.class, ChartHyperRelateFloatLinkPane.CHART_NO_RENAME.class), |
|
|
|
|
/** |
|
|
|
|
* 返回支持的超级链接类型 |
|
|
|
|
* |
|
|
|
|
* @return NameableCreator[] |
|
|
|
|
*/ |
|
|
|
|
public NameableCreator[] getHyperlinkCreators() { |
|
|
|
|
FormHyperlinkProvider formHyperlink = StableFactory.getMarkedInstanceObjectFromClass(FormHyperlinkProvider.XML_TAG, FormHyperlinkProvider.class); |
|
|
|
|
|
|
|
|
|
NameableCreator[] realted4CharthyperUse = { |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Chart_Float_chart"), ChartHyperPoplink.class, ChartHyperPoplinkPane.ChartNoRename.class), |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Chart_Cell"), ChartHyperRelateCellLink.class, ChartHyperRelateCellLinkPane.ChartNoRename.class), |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Chart_Float"), ChartHyperRelateFloatLink.class, ChartHyperRelateFloatLinkPane.ChartNoRename.class), |
|
|
|
|
new NameObjectCreator(Inter.getLocText("FR-Designer_Hyperlink-Form_link"), formHyperlink.getClass(), FormHyperlinkPane.class)}; |
|
|
|
|
return (NameableCreator[])ArrayUtils.addAll(super.getHyperlinkCreators(), realted4CharthyperUse); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return (NameableCreator[]) ArrayUtils.addAll(super.getHyperlinkCreators(), realted4CharthyperUse); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |