Class ProjectIncludingResourceLoader

All Implemented Interfaces:
ResourceLoader

public class ProjectIncludingResourceLoader extends ResourceLoaderDefaultImpl
This ResourceLoader is capable of loading resources from a specific Java project within the workspace. Typical use is when invoking a workflow from within a plugin. FIXME: Refactor this class to repect the EMFPlugin
  • Constructor Details

    • ProjectIncludingResourceLoader

      public ProjectIncludingResourceLoader(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
  • Method Details

    • createClassLoader

      public ClassLoader createClassLoader(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
      Builds a classloader for a Java project from the workspace.
      Parameters:
      project - An Eclipse project
      Throws:
      org.eclipse.core.runtime.CoreException
    • loadFromContextClassLoader

      protected URL loadFromContextClassLoader(String path)
      Overrides:
      loadFromContextClassLoader in class AbstractResourceLoader