Package org.eclipse.php.internal.core.util.PHPSearchEngine

Examples of org.eclipse.php.internal.core.util.PHPSearchEngine.ExternalFileResult


          && currentScriptDir != null) {
        // This is not a full path, search using PHP Search Engine:
        Result<?, ?> result = PHPSearchEngine.find(remoteFile,
            currentWorkingDir, currentScriptDir, project);
        if (result instanceof ExternalFileResult) {
          ExternalFileResult extFileResult = (ExternalFileResult) result;
          return new PathEntry(extFileResult.getFile()
              .getAbsolutePath(), Type.EXTERNAL,
              extFileResult.getContainer());
        }
        if (result instanceof IncludedFileResult) {
          IncludedFileResult incFileResult = (IncludedFileResult) result;
          IBuildpathEntry container = incFileResult.getContainer();
          Type type = (container.getEntryKind() == IBuildpathEntry.BPE_VARIABLE) ? Type.INCLUDE_VAR
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.util.PHPSearchEngine.ExternalFileResult

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.