Browse Source

Merge pull request #1534 in DESIGN/design from ~HARRISON/design:feature/10.0 to feature/10.0

* commit 'c24078b110d2eec4077b2956150e4e84be8efa85':
  REPORT-27647 模板组件的安装下载-模板组件复用插件 图片需要先加载进去。 set 的时候就晚了
persist/11.0
Harrison 5 years ago
parent
commit
0ca385d1f6
  1. 5
      designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

5
designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

@ -203,12 +203,9 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
PropertyItem propertyItem = new PropertyItem(itemBean.getName(), PropertyItem propertyItem = new PropertyItem(itemBean.getName(),
itemBean.getTitle(), itemBean.getTitle(),
itemBean.getBtnIconName(), itemBean.getBtnIconName(),
itemBean.getBtnIconBaseDir(),
itemBean.getVisibleModes(), itemBean.getVisibleModes(),
itemBean.getEnableModes()); itemBean.getEnableModes());
String btnIconBaseDir = itemBean.getBtnIconBaseDir();
if (StringUtils.isNotEmpty(btnIconBaseDir)) {
propertyItem.setIconBaseDir(btnIconBaseDir);
}
UIButton button = propertyItem.getButton(); UIButton button = propertyItem.getButton();
List<ActionListener> buttonListeners = itemBean.getButtonListeners(); List<ActionListener> buttonListeners = itemBean.getButtonListeners();
for (ActionListener buttonListener : buttonListeners) { for (ActionListener buttonListener : buttonListeners) {

Loading…
Cancel
Save