ContainerDescription is a lightweight description that describes a container
to be created.
This class is not intended to be instantiated or used by clients.
since: 3.3
public ContainerDescription(IContainer container)(Code)
Create a ContainerDescription from the specified container handle.
Typically used when the container handle represents a resource that
actually exists, although it will not fail if the resource is
non-existent.
Parameters: container - the container to be described
Add the specified resource description as a member of this resource
description
Parameters: member - the resource description considered a member of thiscontainer.
createChildResources
protected void createChildResources(IContainer parentHandle, IProgressMonitor monitor, int ticks) throws CoreException(Code)
Create any child resources known by this container description.
Parameters: parentHandle - the handle of the created parent Parameters: monitor - the progress monitor to be used Parameters: ticks - the number of ticks allocated for creating children throws: CoreException -
Create a container description from the specified container handle that
can be used to create the container. The returned ContainerDescription
should represent any non-existing parents in addition to the specified
container.
Parameters: container - the handle of the container to be described a container description describing the container and anynon-existing parents.
Return the first folder found that has no child folders.
the container description for the first child in the receiverthat is a leaf, or this container if there are no children.