org.eclipse.xtext.resource
Interface IContainer.Manager

All Known Implementing Classes:
SimpleResourceDescriptionsBasedContainerManager, StateBasedContainerManager
Enclosing interface:
IContainer

public static interface IContainer.Manager


Method Summary
 IContainer getContainer(IResourceDescription desc, IResourceDescriptions resourceDescriptions)
           
 java.util.List<IContainer> getVisibleContainers(IResourceDescription desc, IResourceDescriptions resourceDescriptions)
           
 

Method Detail

getContainer

IContainer getContainer(IResourceDescription desc,
                        IResourceDescriptions resourceDescriptions)
Returns:
returns the container for a given IResourceDescription. The result is never null.

getVisibleContainers

java.util.List<IContainer> getVisibleContainers(IResourceDescription desc,
                                                IResourceDescriptions resourceDescriptions)
Returns:
a sorted list of all IContainer, which are visible from the given IResourceDescription. In an Java environment this would correspond to the list of class-path entries. The list includes the container that contains the given resource description. However, the result may be empty due to internal errors.