Package org.eclipse.xtext.resource
Interface IGlobalServiceProvider
-
- All Known Implementing Classes:
IGlobalServiceProvider.ResourceServiceProviderImpl
public interface IGlobalServiceProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IGlobalServiceProvider.ResourceServiceProviderImpl
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
findService(org.eclipse.emf.common.util.URI uri, java.lang.Class<T> serviceClazz)
<T> T
findService(org.eclipse.emf.ecore.EObject eObject, java.lang.Class<T> serviceClazz)
-
-
-
Method Detail
-
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.
-
-