Package com._1c.g5.v8.dt.platform
Interface IEObjectProvider
- All Known Implementing Classes:
AbstractEObjectProvider,EmptyEObjectProvider,PlatformColorStubEObjectProvider,PlatformFontStubEObjectProvider,PlatformMethodStubEObjectProvider,PlatformPictureStubEObjectProvider,PlatformTypeStubEObjectProvider
public interface IEObjectProvider
Provides information describing instances of some
EClass.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRegistry mappingEClasstoIEObjectProvider. -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectResources(Collection<org.eclipse.emf.common.util.URI> destination) Collects resources this provider works with.<T extends org.eclipse.emf.ecore.EObject>
TcreateProxy(String name) Creates proxy by the object name.org.eclipse.emf.ecore.EClassorg.eclipse.xtext.resource.IEObjectDescriptiongetEObjectDescription(String name) Returns EObject description associated with specified name.Iterable<org.eclipse.xtext.resource.IEObjectDescription>getEObjectDescriptions(com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter) Returns EObject descriptions provided by this instance possibly filtered usingfilter.<T extends org.eclipse.emf.ecore.EObject>
TCreates proxy by the object nameorg.eclipse.emf.common.util.URIGetsURIby the object name.
-
Method Details
-
getEClass
org.eclipse.emf.ecore.EClass getEClass()- Returns:
EClass
-
getUri
GetsURIby the object name.- Parameters:
name- object name.- Returns:
URIcorresponding to name.- Throws:
IllegalArgumentException- if URI for name can't be obtained.
-
createProxy
Creates proxy by the object name.- Parameters:
name- object name.- Returns:
- created proxy.
- Throws:
IllegalArgumentException- if proxy for name can't be created.
-
getProxy
Creates proxy by the object name- Parameters:
name- object name- Returns:
- created proxy or
nullif proxy wasn't created
-
getEObjectDescriptions
Iterable<org.eclipse.xtext.resource.IEObjectDescription> getEObjectDescriptions(com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter) Returns EObject descriptions provided by this instance possibly filtered usingfilter.- Parameters:
filter-Predicateused to filter instances ofIEObjectDescription. May benull.- Returns:
IterableofIEObjectDescriptionfiltered usingfilter
-
getEObjectDescription
Returns EObject description associated with specified name.- Parameters:
name- object name
-
collectResources
Collects resources this provider works with.- Parameters:
destination- The destination collection to add the resources to. May not benull.
-