public WOProjectCreator( IResource newProject, String templateID, IPath locationPath, IPath importPath) { this(newProject, templateID);  this.locationPath = locationPath.makeAbsolute().toFile().isDirectory() ? locationPath : null; if (importPath != null) {  this.importPath = importPath.makeAbsolute().toFile().isDirectory() ? importPath : null; }
public WOProjectCreator(IResource newProject, String templateID) { super(newProject); this.templateID = templateID;
	public WOProjectCreator(		IResource newProject,		String templateID,		IPath locationPath,		IPath importPath) {		this(newProject, templateID);		// validate location path		this.locationPath =			locationPath.makeAbsolute().toFile().isDirectory()				? locationPath				: null;		if (importPath != null) {			// validate import path			this.importPath =				importPath.makeAbsolute().toFile().isDirectory()					? importPath					: null;		}	}