Class LightEObjectDescriptionLookUp
- java.lang.Object
-
- org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
- com._1c.g5.modeling.xtext.scoping.LightEObjectDescriptionLookUp
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.ISelectable
public class LightEObjectDescriptionLookUp extends org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
Lightweight implementation of the EObjectDescriptionLookUp.
-
-
Constructor Summary
Constructors Constructor Description LightEObjectDescriptionLookUp(List<org.eclipse.xtext.resource.IEObjectDescription> allDescriptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.eclipse.xtext.resource.IEObjectDescription>
getExportedObjects()
Iterable<org.eclipse.xtext.resource.IEObjectDescription>
getExportedObjects(org.eclipse.emf.ecore.EClass type, org.eclipse.xtext.naming.QualifiedName name, boolean ignoreCase)
Iterable<org.eclipse.xtext.resource.IEObjectDescription>
getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
Iterable<org.eclipse.xtext.resource.IEObjectDescription>
getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
protected Map<org.eclipse.xtext.naming.QualifiedName,List<org.eclipse.xtext.resource.IEObjectDescription>>
getNameToObjects()
boolean
isEmpty()
protected void
putIntoMap(Map<org.eclipse.xtext.naming.QualifiedName,List<org.eclipse.xtext.resource.IEObjectDescription>> nameToObjects, org.eclipse.xtext.resource.IEObjectDescription description)
void
setExportedObjects(List<org.eclipse.xtext.resource.IEObjectDescription> allDescriptions)
-
-
-
Constructor Detail
-
LightEObjectDescriptionLookUp
public LightEObjectDescriptionLookUp(List<org.eclipse.xtext.resource.IEObjectDescription> allDescriptions)
-
-
Method Detail
-
getExportedObjects
public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects()
- Specified by:
getExportedObjects
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
getExportedObjects
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
getExportedObjects
public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, org.eclipse.xtext.naming.QualifiedName name, boolean ignoreCase)
- Specified by:
getExportedObjects
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
getExportedObjects
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
getExportedObjectsByObject
public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
- Specified by:
getExportedObjectsByObject
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
getExportedObjectsByObject
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
getExportedObjectsByType
public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
- Specified by:
getExportedObjectsByType
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
getExportedObjectsByType
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
isEmpty
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
setExportedObjects
public void setExportedObjects(List<org.eclipse.xtext.resource.IEObjectDescription> allDescriptions)
- Overrides:
setExportedObjects
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
getNameToObjects
protected Map<org.eclipse.xtext.naming.QualifiedName,List<org.eclipse.xtext.resource.IEObjectDescription>> getNameToObjects()
- Overrides:
getNameToObjects
in classorg.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
-
-