Package org.intellij.sonar.persistence

Examples of org.intellij.sonar.persistence.ModuleSettings


    myWorkingDirComboBox.setEnabled(!myUseAlternativeWorkingDirCheckBox.isSelected());
  }

  @Override
  public boolean isModified() {
    final ModuleSettings component = ModuleSettings.getInstance(myModule);
    if (null == component) return false;
    Settings state = component.getState();
    return null == state || !state.equals(this.toSettings());
  }
View Full Code Here


  }

  @Override
  public void apply() throws ConfigurationException {
    Settings settings = this.toSettings();
    ModuleSettings projectSettingsComponent = ModuleSettings.getInstance(myModule);
    projectSettingsComponent.loadState(settings);
  }
View Full Code Here

    projectSettingsComponent.loadState(settings);
  }

  @Override
  public void reset() {
    ModuleSettings moduleSettings = myModule.getComponent(ModuleSettings.class);
    if (moduleSettings != null && moduleSettings.getState() != null) {
      Settings persistedSettings = moduleSettings.getState();
      this.setValuesFromSettings(persistedSettings);
    }
  }
View Full Code Here

TOP

Related Classes of org.intellij.sonar.persistence.ModuleSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.