public class StateBasedContainerManager extends java.lang.Object implements IContainer.Manager
| Constructor and Description |
|---|
StateBasedContainerManager() |
public IContainer getContainer(IResourceDescription desc, IResourceDescriptions resourceDescriptions)
getContainer in interface IContainer.ManagerIResourceDescription. The result is never
null.public java.util.List<IContainer> getVisibleContainers(IResourceDescription desc, IResourceDescriptions resourceDescriptions)
getVisibleContainers in interface IContainer.ManagerIContainer, 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.protected IAllContainersState getState(IResourceDescriptions resourceDescriptions)
protected IContainer createContainer(java.lang.String handle, IResourceDescriptions resourceDescriptions)
protected IContainer createContainer(IResourceDescriptions resourceDescriptions, IAllContainersState allContainerState, IContainerState containerState)
protected java.util.List<IContainer> getVisibleContainers(java.util.List<java.lang.String> handles, IResourceDescriptions resourceDescriptions)
protected java.lang.String internalGetContainerHandle(IResourceDescription desc, IResourceDescriptions resourceDescriptions)
public IAllContainersState.Provider getStateProvider()
public void setStateProvider(IAllContainersState.Provider stateProvider)
public void setDelegate(ProjectDescriptionBasedContainerManager delegate)