Examples of CodeSet


Examples of org.springframework.ide.eclipse.wizard.gettingstarted.content.CodeSet

            return ValidationResult.error("No build type selected");
          } else {
            List<String> codesetNames = codesets.getValues();
            if (codesetNames!=null) {
              for (String csname : codesetNames) {
                CodeSet cs = g.getCodeSet(csname);
                if (cs!=null) {
                  ValidationResult result = cs.validateBuildType(bt);
                  if (!result.isOk()) {
                    return result.withMessage("CodeSet '"+csname+"': "+result.msg);
                  }
                  ImportStrategy importStrategy = bt.getImportStrategy();
                  if (!importStrategy.isSupported()) {
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.content.CodeSet

    Set<String> codesetNames = codesets.getValue();

    mon.beginTask("Import guide content", codesetNames.size()+1);
    try {
      for (String name : codesetNames) {
        CodeSet cs = g.getCodeSet(name);
        if (cs==null) {
          //Ignore 'invalid' codesets. This is a bit of a hack so that we can retain selected codeset names
          //  across guide selection changes. To do that we remember 'selected' cs names even if they
          //  aren't valid for the current guide. That way the checkbox state stays consistent
          //  when switching between guides (otherwise 'invalid' names would have to be cleared when switching to
View Full Code Here

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.content.CodeSet

          boolean codesetSelected = false;
          try {
            Set<String> names = selectedNames.getValue();
            if (names != null && !names.isEmpty()) {
              for (String name : names) {
                CodeSet cs = g.getCodeSet(name);
                if (cs!=null) {
                  codesetSelected = true;
                  ImportConfiguration conf = ImportUtils.importConfig(g, cs);
                  ValidationResult valid = ImportUtils.validateImportConfiguration(conf);
                  if (!valid.isOk()) {
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.