org.eclipse.xtext.ui.editor.findrefs
Interface IReferenceFinder.ILocalResourceAccess

All Known Implementing Classes:
EditorResourceAccess, LoadingResourceAccess, SimpleLocalResourceAccess
Enclosing interface:
IReferenceFinder

public static interface IReferenceFinder.ILocalResourceAccess

Executes work on the element referred to by the targetURI. That involves reloading the element if it is proxified or the editor it belonged to has been closed.


Method Summary
<R> R
readOnly(org.eclipse.emf.common.util.URI resourceURI, IUnitOfWork<R,org.eclipse.emf.ecore.resource.ResourceSet> work)
           
 

Method Detail

readOnly

<R> R readOnly(org.eclipse.emf.common.util.URI resourceURI,
               IUnitOfWork<R,org.eclipse.emf.ecore.resource.ResourceSet> work)