Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.filebuffers.manipulation
Class ContainerCreator


java.lang.Object
  extended by 
org.eclipse.core.filebuffers.manipulation.ContainerCreator

public class ContainerCreator
extends Object

Helper class to create a container and all missing parent containers.

Since:
3.1

Constructor Summary
ContainerCreator ( IWorkspace workspace, IPath fullPath)
          Constructs a container creator for the given path in the given workspace.
 
Method Summary
  IContainer createContainer ( IProgressMonitor progressMonitor)
          Creates this container.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerCreator

public ContainerCreator(
IWorkspace workspace,
                        
IPath fullPath)
Constructs a container creator for the given path in the given workspace.

Parameters:
workspace - the workspace in which to create the container
fullPath - the full path of the container, must not denote a file
Method Detail

createContainer

public 
IContainer createContainer(
IProgressMonitor progressMonitor)
                           throws 
CoreException
Creates this container.

Parameters:
progressMonitor - the progress monitor or null 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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire