|
|
@ -446,6 +446,7 @@ public class PreferencePane extends BasicPane { |
|
|
|
intervalPanel.add(saveIntervalEditor); |
|
|
|
intervalPanel.add(saveIntervalEditor); |
|
|
|
intervalPanel.add(delayLabel); |
|
|
|
intervalPanel.add(delayLabel); |
|
|
|
autoCleanPane = createAutoCleanPane(); |
|
|
|
autoCleanPane = createAutoCleanPane(); |
|
|
|
|
|
|
|
checkAutoScheduleStartAndUpdateStatus(); |
|
|
|
vcsEnableCheckBox.addChangeListener(new ChangeListener() { |
|
|
|
vcsEnableCheckBox.addChangeListener(new ChangeListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void stateChanged(ChangeEvent e) { |
|
|
|
public void stateChanged(ChangeEvent e) { |
|
|
@ -515,7 +516,6 @@ public class PreferencePane extends BasicPane { |
|
|
|
autoCleanPane.add(new UILabel(i18nText("Fine-Design_Vcs_Auto_Clean_Content"))); |
|
|
|
autoCleanPane.add(new UILabel(i18nText("Fine-Design_Vcs_Auto_Clean_Content"))); |
|
|
|
autoCleanPane.add(autoCleanRetainIntervalComboBox); |
|
|
|
autoCleanPane.add(autoCleanRetainIntervalComboBox); |
|
|
|
autoCleanPane.add(new UILabel(i18nText("Fine-Design_Vcs_Auto_Clean_Last"))); |
|
|
|
autoCleanPane.add(new UILabel(i18nText("Fine-Design_Vcs_Auto_Clean_Last"))); |
|
|
|
checkAutoScheduleStartAndUpdateStatus(); |
|
|
|
|
|
|
|
autoCleanPane.setVisible(false); |
|
|
|
autoCleanPane.setVisible(false); |
|
|
|
return autoCleanPane; |
|
|
|
return autoCleanPane; |
|
|
|
} |
|
|
|
} |
|
|
@ -546,6 +546,9 @@ public class PreferencePane extends BasicPane { |
|
|
|
useVcsAutoCleanScheduleCheckBox.setEnabled(b); |
|
|
|
useVcsAutoCleanScheduleCheckBox.setEnabled(b); |
|
|
|
autoCleanIntervalComboBox.setEnabled(b); |
|
|
|
autoCleanIntervalComboBox.setEnabled(b); |
|
|
|
autoCleanRetainIntervalComboBox.setEnabled(b); |
|
|
|
autoCleanRetainIntervalComboBox.setEnabled(b); |
|
|
|
|
|
|
|
if (autoCleanPane != null) { |
|
|
|
|
|
|
|
autoCleanPane.setToolTipText(b ? null : Toolkit.i18nText("Fine-Design_Vcs_Server_Start_Hover")); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JPanel createSaveIntervalPane() { |
|
|
|
private JPanel createSaveIntervalPane() { |
|
|
|