Package com.intellij.ide.util.projectWizard.importSources

Examples of com.intellij.ide.util.projectWizard.importSources.DetectedProjectRoot


  @Override
  public DirectoryProcessingResult detectRoots(@NotNull File dir, @NotNull File[] children, @NotNull File base, @NotNull List<DetectedProjectRoot> result) {
    Pattern pattern = Pattern.compile(".*\\.[e|h]rl");
    List<File> filesByMask = FileUtil.findFilesByMask(pattern, base);
    if (!filesByMask.isEmpty()) {
      result.add(new DetectedProjectRoot(dir) {
        @NotNull
        @Override
        public String getRootTypeName() {
          return "Erlang";
        }
View Full Code Here

TOP

Related Classes of com.intellij.ide.util.projectWizard.importSources.DetectedProjectRoot

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.