Examples of PathReference


Examples of com.intellij.openapi.paths.PathReference

    strutsModel.processActions(new Processor<Action>() {
      @Override
      public boolean process(final Action action) {
        for (final Result result : action.getResults()) {

          final PathReference pathReference = result.getValue();
          if (pathReference == null) {
            continue;
          }

          final String path = pathReference.getPath();
          if (!path.endsWith(filename)) {
            continue;
          }

          final PsiElement resolve = pathReference.resolve();
          if (ContainerUtil.find(allFiles, resolve) == null) {
            continue;
          }

          if (!actions.contains(action)) {
View Full Code Here

Examples of com.intellij.openapi.paths.PathReference

    final StrutsManager strutsManager = StrutsManager.getInstance(psiElement.getProject());
    if (strutsManager.getCombinedModel(psiElement) == null) {
      return null;
    }

    return new PathReference(path, new ConstantFunction<PathReference, Icon>(Struts2Icons.Action)); /*{
TODO not needed so far ?!
   public PsiElement resolve() {
        return action.getXmlTag();
      }
    };*/
 
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.