org.eclipse.xtext.ui.util
Class JdtClasspathUriResolver

java.lang.Object
  extended by org.eclipse.xtext.ui.util.JdtClasspathUriResolver
All Implemented Interfaces:
IClasspathUriResolver
Direct Known Subclasses:
WorkspaceClasspathUriResolver

public class JdtClasspathUriResolver
extends java.lang.Object
implements IClasspathUriResolver


Constructor Summary
JdtClasspathUriResolver()
           
 
Method Summary
protected  org.eclipse.emf.common.util.URI createArchiveURI(org.eclipse.emf.common.util.URI baseURI, java.lang.String entryPath)
           
protected  org.eclipse.emf.common.util.URI createPlatformResourceURI(org.eclipse.core.resources.IResource resource)
           
protected  org.eclipse.emf.common.util.URI findResourceInWorkspace(org.eclipse.jdt.core.IJavaProject javaProject, org.eclipse.emf.common.util.URI classpathUri)
           
 org.eclipse.emf.common.util.URI resolve(java.lang.Object context, org.eclipse.emf.common.util.URI classpathUri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdtClasspathUriResolver

public JdtClasspathUriResolver()
Method Detail

resolve

public org.eclipse.emf.common.util.URI resolve(java.lang.Object context,
                                               org.eclipse.emf.common.util.URI classpathUri)
Specified by:
resolve in interface IClasspathUriResolver

findResourceInWorkspace

protected org.eclipse.emf.common.util.URI findResourceInWorkspace(org.eclipse.jdt.core.IJavaProject javaProject,
                                                                  org.eclipse.emf.common.util.URI classpathUri)
                                                           throws org.eclipse.jdt.core.JavaModelException,
                                                                  org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.jdt.core.JavaModelException
org.eclipse.core.runtime.CoreException

createArchiveURI

protected org.eclipse.emf.common.util.URI createArchiveURI(org.eclipse.emf.common.util.URI baseURI,
                                                           java.lang.String entryPath)

createPlatformResourceURI

protected org.eclipse.emf.common.util.URI createPlatformResourceURI(org.eclipse.core.resources.IResource resource)