Browse Source

REPORT-53022 本地组件库刷新后的排序问题

feature/10.0
kuangshuai 4 years ago
parent
commit
9bc67ee475
  1. 3
      designer-form/src/main/java/com/fr/design/mainframe/share/ui/local/GroupPane.java
  2. 1
      designer-form/src/main/java/com/fr/design/mainframe/share/ui/local/LocalWidgetSelectPane.java

3
designer-form/src/main/java/com/fr/design/mainframe/share/ui/local/GroupPane.java

@ -18,6 +18,7 @@ import com.fr.design.utils.gui.GUICoreUtils;
import com.fr.form.share.SharableWidgetProvider; import com.fr.form.share.SharableWidgetProvider;
import com.fr.form.share.group.DefaultShareGroupManager; import com.fr.form.share.group.DefaultShareGroupManager;
import com.fr.form.share.Group; import com.fr.form.share.Group;
import com.fr.form.share.record.ShareWidgetInfoManager;
import com.fr.general.IOUtils; import com.fr.general.IOUtils;
import com.fr.stable.StringUtils; import com.fr.stable.StringUtils;
@ -100,6 +101,8 @@ class GroupPane extends JPanel {
searchByKeyword(keyWord); searchByKeyword(keyWord);
return; return;
} }
ShareWidgetInfoManager.getInstance().checkInstallCompInfo(elCaseBindInfoList);
sortType.sort(elCaseBindInfoList);
reCreateShowPane(elCaseBindInfoList); reCreateShowPane(elCaseBindInfoList);
expendGroup(needExpendGroup); expendGroup(needExpendGroup);
} }

1
designer-form/src/main/java/com/fr/design/mainframe/share/ui/local/LocalWidgetSelectPane.java

@ -73,7 +73,6 @@ public class LocalWidgetSelectPane extends AbstractWidgetSelectPane {
} else { } else {
showEmpty(); showEmpty();
} }
ShareWidgetInfoManager.getInstance().checkInstallCompInfo(providers);
} }
public Group getGroup() { public Group getGroup() {

Loading…
Cancel
Save