org.eclipse.xtext.resource
Interface IGlobalServiceProvider
- All Known Implementing Classes:
- IGlobalServiceProvider.ResourceServiceProviderImpl
public interface IGlobalServiceProvider
- Author:
- Sven Efftinge - Initial contribution and API
Method Summary |
|
findService(org.eclipse.emf.ecore.EObject eObject,
java.lang.Class<T> serviceClazz)
|
|
findService(org.eclipse.emf.common.util.URI uri,
java.lang.Class<T> serviceClazz)
|
findService
<T> T findService(org.eclipse.emf.common.util.URI uri,
java.lang.Class<T> serviceClazz)
- Returns:
- an instance of the demanded service class for the given
URI
's language implementation, or null if no
service or language implementation could be found.
findService
<T> T findService(org.eclipse.emf.ecore.EObject eObject,
java.lang.Class<T> serviceClazz)
- Returns:
- an instance of the demanded service class for the given
EObject
's language implementation, or null if no
service or language implementation could be found.