Examples of toSonarServerConfigurationBean()


Examples of org.intellij.sonar.configuration.SonarServerConfigurable.toSonarServerConfigurationBean()

      @Override
      public void actionPerformed(ActionEvent actionEvent) {

        final SonarServerConfigurable dlg = showSonarServerConfigurableDialog();
        if (dlg.isOK()) {
          SonarServerConfig newSonarConfigurationBean = dlg.toSonarServerConfigurationBean();
          try {
            SonarServers.add(newSonarConfigurationBean);
            mySonarServersComboBox.addItem(makeObj(newSonarConfigurationBean.getName()));
            UIUtil.selectComboBoxItem(mySonarServersComboBox, newSonarConfigurationBean.getName());
          } catch (IllegalArgumentException e) {
View Full Code Here

Examples of org.intellij.sonar.configuration.SonarServerConfigurable.toSonarServerConfigurationBean()

        if (!oldBean.isPresent()) {
          Messages.showErrorDialog(selectedSonarServer.toString() + " is not more preset", "Cannot Perform Edit");
        } else {
          final SonarServerConfigurable dlg = showSonarServerConfigurableDialog(oldBean.get());
          if (dlg.isOK()) {
            SonarServerConfig newSonarConfigurationBean = dlg.toSonarServerConfigurationBean();
            try {
              SonarServers.remove(oldBean.get().getName());
              SonarServers.add(newSonarConfigurationBean);
              mySonarServersComboBox.removeItem(selectedSonarServer);
              mySonarServersComboBox.addItem(makeObj(newSonarConfigurationBean.getName()));
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.