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 interface
Registry mappingEClass
toIEObjectProvider
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectResources
(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.EClass
org.eclipse.xtext.resource.IEObjectDescription
getEObjectDescription
(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.URI
GetsURI
by the object name.
-
Method Details
-
getEClass
org.eclipse.emf.ecore.EClass getEClass()- Returns:
EClass
-
getUri
GetsURI
by the object name.- Parameters:
name
- object name.- Returns:
URI
corresponding 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
null
if 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
-Predicate
used to filter instances ofIEObjectDescription
. May benull
.- Returns:
Iterable
ofIEObjectDescription
filtered 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
.
-