Browse Source

Pull request #4431: REPORT-53022 本地组件库刷新后的排序问题

Merge in DESIGN/design from ~TOMMY/design:feature/10.0 to feature/10.0

* commit '7f041d1b0dde8cbd96269b2dc362f882dea459ab':
  REPORT-53022 本地组件库刷新后的排序问题
feature/10.0
Tommy 4 years ago
parent
commit
072438d017
  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.group.DefaultShareGroupManager;
import com.fr.form.share.Group;
import com.fr.form.share.record.ShareWidgetInfoManager;
import com.fr.general.IOUtils;
import com.fr.stable.StringUtils;
@ -100,6 +101,8 @@ class GroupPane extends JPanel {
searchByKeyword(keyWord);
return;
}
ShareWidgetInfoManager.getInstance().checkInstallCompInfo(elCaseBindInfoList);
sortType.sort(elCaseBindInfoList);
reCreateShowPane(elCaseBindInfoList);
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 {
showEmpty();
}
ShareWidgetInfoManager.getInstance().checkInstallCompInfo(providers);
}
public Group getGroup() {

Loading…
Cancel
Save