Class ContainerCreator
java.lang.Object
org.eclipse.core.filebuffers.manipulation.ContainerCreator
Helper class to create a container and all missing
parent containers.
- Since:
- 3.1
-
Constructor Summary
ConstructorDescriptionContainerCreator
(IWorkspace workspace, IPath fullPath) Constructs a container creator for the given path in the given workspace. -
Method Summary
Modifier and TypeMethodDescriptioncreateContainer
(IProgressMonitor progressMonitor) Creates this container.
-
Constructor Details
-
ContainerCreator
Constructs a container creator for the given path in the given workspace.- Parameters:
workspace
- the workspace in which to create the containerfullPath
- the full path of the container, must not denote a file
-
-
Method Details
-
createContainer
Creates this container.- Parameters:
progressMonitor
- the progress monitor ornull
if none- Returns:
- the container specified by this container creator's full path
- Throws:
CoreException
- if this container creator's full path denotes a file or creating either the project or folders for the given container fails
-