Package org.eclipse.dltk.internal.core

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


    if(resource != null && resource.getLocation() != null) {
      // This is the best case, it means we should have an accurate path.
      return getFilePath(resource.getLocation());
    }
    if(sourceModule instanceof ExternalSourceModule) {
      ExternalSourceModule externalSourceModule = (ExternalSourceModule) sourceModule;
      IStorage storage = externalSourceModule.getStorage();
      return getFilePath(storage.getFullPath());
    }
   
    if(sourceModule.isWorkingCopy()) {
      try {
View Full Code Here


      if (input instanceof ExternalStorageEditorInput) {
        ExternalStorageEditorInput external = (ExternalStorageEditorInput) input;
        IStorage storage = external.getStorage();
        if (storage != null) {
          if (storage instanceof ExternalSourceModule) {
            ExternalSourceModule externalSourceModule = (ExternalSourceModule) storage;
            return externalSourceModule;
          }
        }
      }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.core.ExternalSourceModule

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.