Package org.eclipse.dltk.internal.core

Examples of org.eclipse.dltk.internal.core.Openable


    return super.createTypeHandle(parent, name);
  }

  @Override
  protected IType createTypeHandle(String name) {
    Openable openable = this.currentPossibleMatch.openable;
    if (openable instanceof SourceModule || openable instanceof ExternalSourceModule
            || openable instanceof BuiltinSourceModule) {
      IParent e = ((IParent) openable);
      if (name.indexOf("::") != -1) {
        String[] split = name.split("::");
View Full Code Here


    return super.createTypeHandle(parent, name);
  }

  @Override
  protected IType createTypeHandle(String name) {
    Openable openable = this.currentPossibleMatch.openable;
    if (openable instanceof SourceModule || openable instanceof ExternalSourceModule
            || openable instanceof BuiltinSourceModule) {
      IParent e = ((IParent) openable);
      if (name.indexOf("::") != -1) {
        String[] split = name.split("::");
View Full Code Here

        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

      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.Openable

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.