Class LightStateBasedContainer
- java.lang.Object
-
- org.eclipse.xtext.resource.impl.AbstractCompoundSelectable
-
- org.eclipse.xtext.resource.impl.AbstractContainer
-
- org.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
- com._1c.g5.modeling.xtext.resource.LightStateBasedContainer
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IContainer
,org.eclipse.xtext.resource.IResourceDescription.Event.Listener
,org.eclipse.xtext.resource.ISelectable
- Direct Known Subclasses:
BslLightStateBasedContainer
public class LightStateBasedContainer extends org.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
Lightweight version of theResourceDescriptionsBasedContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.xtext.resource.containers.IContainerState
state
IContainerState
for filtering exported objects fromIResourceDescriptions
-
Constructor Summary
Constructors Constructor Description LightStateBasedContainer(org.eclipse.xtext.resource.IResourceDescriptions descriptions, org.eclipse.xtext.resource.containers.IContainerState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<org.eclipse.emf.common.util.URI,org.eclipse.xtext.resource.IResourceDescription>
doGetUriToDescription()
protected Iterable<org.eclipse.xtext.resource.IEObjectDescription>
filterByURI(Iterable<org.eclipse.xtext.resource.IEObjectDescription> unfiltered)
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 qualifiedName, 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)
org.eclipse.xtext.resource.IResourceDescription
getResourceDescription(org.eclipse.emf.common.util.URI uri)
int
getResourceDescriptionCount()
Iterable<org.eclipse.xtext.resource.IResourceDescription>
getResourceDescriptions()
boolean
hasResourceDescription(org.eclipse.emf.common.util.URI uri)
boolean
isEmpty()
String
toString()
-
-
-
Method Detail
-
filterByURI
protected Iterable<org.eclipse.xtext.resource.IEObjectDescription> filterByURI(Iterable<org.eclipse.xtext.resource.IEObjectDescription> unfiltered)
- Overrides:
filterByURI
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
hasResourceDescription
public boolean hasResourceDescription(org.eclipse.emf.common.util.URI uri)
- Specified by:
hasResourceDescription
in interfaceorg.eclipse.xtext.resource.IContainer
- Overrides:
hasResourceDescription
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
getResourceDescriptionCount
public int getResourceDescriptionCount()
- Specified by:
getResourceDescriptionCount
in interfaceorg.eclipse.xtext.resource.IContainer
- Overrides:
getResourceDescriptionCount
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
isEmpty
in classorg.eclipse.xtext.resource.impl.AbstractCompoundSelectable
-
getResourceDescription
public org.eclipse.xtext.resource.IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
- Specified by:
getResourceDescription
in interfaceorg.eclipse.xtext.resource.IContainer
- Overrides:
getResourceDescription
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
getResourceDescriptions
public Iterable<org.eclipse.xtext.resource.IResourceDescription> getResourceDescriptions()
- Specified by:
getResourceDescriptions
in interfaceorg.eclipse.xtext.resource.IContainer
- Overrides:
getResourceDescriptions
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
doGetUriToDescription
protected Map<org.eclipse.emf.common.util.URI,org.eclipse.xtext.resource.IResourceDescription> doGetUriToDescription()
- Overrides:
doGetUriToDescription
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
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.AbstractCompoundSelectable
-
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.ResourceDescriptionsBasedContainer
-
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.AbstractContainer
-
getExportedObjects
public Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, org.eclipse.xtext.naming.QualifiedName qualifiedName, boolean ignoreCase)
- Specified by:
getExportedObjects
in interfaceorg.eclipse.xtext.resource.ISelectable
- Overrides:
getExportedObjects
in classorg.eclipse.xtext.resource.impl.ResourceDescriptionsBasedContainer
-
-