Package org.eclipse.dltk.internal.core.util

Examples of org.eclipse.dltk.internal.core.util.HandleFactory


      } else if (object instanceof DBGpStackFrame) {
        fileName = ((DBGpStackFrame) object).getQualifiedFile();
      }

      if (fileName != null) {
        HandleFactory fac = new HandleFactory();
        IDLTKSearchScope scope = SearchEngine
            .createWorkspaceScope(PHPLanguageToolkit.getDefault());
        IPath localPath = EnvironmentPathUtils.getFile(
            LocalEnvironment.getInstance(), new Path(fileName))
            .getFullPath();
        Openable openable = fac.createOpenable(localPath.toString(),
            scope);
        if (openable instanceof IStorage) {
          return new Object[] { openable };
        }
View Full Code Here


          .findEditorInput(path);
      if (nonExistingEditorInput != null) {
        return nonExistingEditorInput;
      }

      HandleFactory fac = new HandleFactory();
      IDLTKSearchScope scope = DLTKSearchScopeFactory
          .getInstance()
          .createWorkspaceScope(true, PHPLanguageToolkit.getDefault());
      Openable openable = fac.createOpenable(path.toString(), scope);

      if (openable instanceof IStorage) {
        return new ExternalStorageEditorInput((IStorage) openable);
      }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.core.util.HandleFactory

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.