Package com.intellij.openapi.components

Examples of com.intellij.openapi.components.PathMacroManager.collapsePath()


  }


  public static String collapsePathMacro(final ComponentManager project, @NotNull final String path) {
    final PathMacroManager macroManager = PathMacroManager.getInstance(project);
    return macroManager.collapsePath(path);
  }


  public static String expandPathMacro(final ComponentManager project, @NotNull final String path) {
    final PathMacroManager macroManager = PathMacroManager.getInstance(project);
View Full Code Here


            source = source.substring(1);
          }

          // so we now got the source path and can replace it

          String collapsedSource = macroManager.collapsePath(source);
          value = StringUtil.replace(value, source, collapsedSource);
        }
      }
      prop.setAttribute(VALUE, value);
      props.addContent(prop);
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.