Browse Source

REPORT-80651 模板版本管理重构一期 - 优化代码结构

feature/x
loy 2 years ago
parent
commit
557e27cf86
  1. 8
      designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

8
designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

@ -356,8 +356,6 @@ public class PreferencePane extends BasicPane {
useIntervalCheckBox = new UICheckBox();
//gc面板
JPanel gcControlPane = createGcControlPane();
JPanel enableVcsPanel = new JPanel(FRGUIPaneFactory.createLeftZeroLayout());
enableVcsPanel.add(vcsEnableCheckBox);
enableVcsPanel.add(remindVcsLabel);
@ -390,6 +388,12 @@ public class PreferencePane extends BasicPane {
vcsPane.add(enableVcsPanel);
vcsPane.add(intervalPanel);
vcsPane.add(saveCommitCheckBox);
initGcControlPane(vcsPane);
}
private void initGcControlPane(JPanel vcsPane) {
JPanel gcControlPane = createGcControlPane();
new SwingWorker<Boolean, Boolean>() {
@Override
protected Boolean doInBackground() throws Exception {

Loading…
Cancel
Save