Examples of PsiDirectory


Examples of com.intellij.psi.PsiDirectory

        }

        PsiFile bundleFile = filesByName[0];

        try {
            PsiDirectory bundleDir = bundleFile.getContainingDirectory();
            PsiDirectory resourcesDir = bundleDir.findSubdirectory("Resources");
            PsiDirectory viewsDir = resourcesDir.findSubdirectory("views");

            if (!ctrl.equals(""))
            {
                PsiDirectory ctlDir = viewsDir.findSubdirectory(ctrl);
                return ctlDir.findFile(viewFileName);
            }
            else
            {
                return viewsDir.findFile(viewFileName);
            }
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.