Class WorkspaceResourceAccess

  • All Implemented Interfaces:
    org.eclipse.xtext.findReferences.IReferenceFinder.IResourceAccess

    public class WorkspaceResourceAccess
    extends java.lang.Object
    implements org.eclipse.xtext.findReferences.IReferenceFinder.IResourceAccess
    Since:
    2.11
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> R readOnly​(org.eclipse.emf.common.util.URI targetURI, org.eclipse.xtext.util.concurrent.IUnitOfWork<R,​org.eclipse.emf.ecore.resource.ResourceSet> work)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkspaceResourceAccess

        public WorkspaceResourceAccess​(WorkspaceManager workspaceManager)
        Parameters:
        workspaceManager - the workspace manager
    • Method Detail

      • readOnly

        public <R> R readOnly​(org.eclipse.emf.common.util.URI targetURI,
                              org.eclipse.xtext.util.concurrent.IUnitOfWork<R,​org.eclipse.emf.ecore.resource.ResourceSet> work)
        Specified by:
        readOnly in interface org.eclipse.xtext.findReferences.IReferenceFinder.IResourceAccess