org.eclipse.xtext.ui.editor.findrefs
Class EditorResourceAccess

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.findrefs.EditorResourceAccess
All Implemented Interfaces:
IReferenceFinder.ILocalResourceAccess

public class EditorResourceAccess
extends java.lang.Object
implements IReferenceFinder.ILocalResourceAccess

Since:
2.3
Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
EditorResourceAccess()
           
 
Method Summary
<R> R
readOnly(org.eclipse.emf.common.util.URI targetURI, 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

EditorResourceAccess

public EditorResourceAccess()
Method Detail

readOnly

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