For creating folder resources that currently do not exist,
along a given workspace path.
This class may be instantiated; it is not intended to be subclassed.
Example usage:
ContainerGenerator gen = new ContainerGenerator(new Path("/A/B"));
IContainer res = null;
try {
res = gen.getContainer(monitor); // creates project A and folder B if required
} catch (CoreException e) {
// handle failure
} catch (OperationCanceledException e) {
// handle cancelation
}
|