Class LiveShadowedAllContainerState
- java.lang.Object
-
- org.eclipse.xtext.resource.containers.LiveShadowedAllContainerState
-
- All Implemented Interfaces:
IAllContainersState
public class LiveShadowedAllContainerState extends java.lang.Object implements IAllContainersState
This class ensures that every IResourceDescription from a local IResourceDescriptions that is not known to the global IAllContainerState gets a proper container. This is usually necessary when an IResourceDescription has no (not yet a) file in the file system.- Since:
- 2.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiveShadowedAllContainerState.Provider
-
Constructor Summary
Constructors Constructor Description LiveShadowedAllContainerState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsURI(java.lang.String containerHandle, org.eclipse.emf.common.util.URI candidateURI)java.util.Collection<org.eclipse.emf.common.util.URI>getContainedURIs(java.lang.String containerHandle)java.lang.StringgetContainerHandle(org.eclipse.emf.common.util.URI uri)java.util.List<java.lang.String>getVisibleContainerHandles(java.lang.String handle)booleanisEmpty(java.lang.String containerHandle)
-
-
-
Method Detail
-
getContainedURIs
public java.util.Collection<org.eclipse.emf.common.util.URI> getContainedURIs(java.lang.String containerHandle)
- Specified by:
getContainedURIsin interfaceIAllContainersState
-
containsURI
public boolean containsURI(java.lang.String containerHandle, org.eclipse.emf.common.util.URI candidateURI)- Specified by:
containsURIin interfaceIAllContainersState
-
getContainerHandle
public java.lang.String getContainerHandle(org.eclipse.emf.common.util.URI uri)
- Specified by:
getContainerHandlein interfaceIAllContainersState
-
getVisibleContainerHandles
public java.util.List<java.lang.String> getVisibleContainerHandles(java.lang.String handle)
- Specified by:
getVisibleContainerHandlesin interfaceIAllContainersState
-
isEmpty
public boolean isEmpty(java.lang.String containerHandle)
- Specified by:
isEmptyin interfaceIAllContainersState
-
-