Package org.springframework.ide.eclipse.wizard.template.infrastructure

Examples of org.springframework.ide.eclipse.wizard.template.infrastructure.TemplateCategory


          if (categoryPath == null) {
            elements.add(template);
          }
          else {
            String[] categoryPaths = categoryPath.split("/");
            TemplateCategory lastCategory = null;
            String path = "";

            for (String categoryName : categoryPaths) {
              boolean topLevel;

              if (path.length() == 0) {
                path = categoryName;
                topLevel = true;
              }
              else {
                path += "/" + categoryName;
                topLevel = false;
              }
              TemplateCategory category = pathToCategory.get(path);
              if (category == null) {
                category = new TemplateCategory(categoryName);
                pathToCategory.put(path, category);

                if (topLevel) {
                  elements.add(category);
                }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.wizard.template.infrastructure.TemplateCategory

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.