【仅供内部供应商使用,不提供对外解答和培训】

Page tree

【仅供内部供应商使用,不提供对外解答和培训】

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

一、特殊名词介绍

二、接口/方法/对象源码

这部分方法比较零散,会根据接口文档和专题的需要逐渐补充

1.获取当前设计器的工作区  DesignerFrame frame = DesignerContext.getDesignerFrame();

2.获取当前设计器的编辑区模板  JTemplate template = DesignerContext.getDesignerFrame().getSelectedJTemplate();

3.创建一个图标按钮  new UIButton(IOUtils.readIcon("/com/fr/base/images/cell/control/remove.png"));

4.获取当前设计器编辑的cpt报表的sheet页  ((JWorkBook) template).getEditingElementCase();

5.刷新当前的工作区状态 template.fireTargetModified();

6.设计器消息弹窗 FineJOptionPane.showMessageDialog(弹窗归属的主体,消息内容文本),主体如果不知道是啥就设置成frame。

三、接口/方法/对象说明


四、常用链接

DesignerFrameUpButtonProvider-设计器顶部工作区图标工具栏按钮扩展

五、开源案例


  • No labels