Examples of ModuleSettings


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

Examples of org.intellij.sonar.persistence.ModuleSettings

  }

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

Examples of org.intellij.sonar.persistence.ModuleSettings

    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
Copyright © 2018 www.massapi.com. 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.