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

    settings.myPluginHosts.clear();
    settings.myPluginHosts.addAll(myUpdatesSettingsPanel.getPluginsHosts());
  }
Esempio n. 2
0
 @Override
 public boolean isModified() {
   if (myUpdatesSettingsPanel == null) {
     return false;
   }
   //noinspection EqualsBetweenInconvertibleTypes
   return !UpdateSettings.getInstance()
       .myPluginHosts
       .equals(myUpdatesSettingsPanel.getPluginsHosts());
 }