Beispiel #1
0
  @Override
  public void apply() throws ConfigurationException {
    UpdateSettings settings = UpdateSettings.getInstance();

    settings.myPluginHosts.clear();
    settings.myPluginHosts.addAll(myUpdatesSettingsPanel.getPluginsHosts());
  }
Beispiel #2
0
 @Override
 public boolean isModified() {
   if (myUpdatesSettingsPanel == null) {
     return false;
   }
   //noinspection EqualsBetweenInconvertibleTypes
   return !UpdateSettings.getInstance()
       .myPluginHosts
       .equals(myUpdatesSettingsPanel.getPluginsHosts());
 }
Beispiel #3
0
 @Override
 public void reset() {
   myUpdatesSettingsPanel.setPluginHosts(UpdateSettings.getInstance().myPluginHosts);
 }