ProjectHelper.getProjectSourceFolder( (IProject) parentResource).getFile(
wolipsJavaProject .getClasspathAccessor() .getProjectSourceFolder() .getFile(
	public void createWOComponent(IProgressMonitor monitor)		throws CoreException, InvocationTargetException {		IFolder componentFolder = null;		IFile componentJavaFile = null;		IFile componentApiFile = null;		switch (parentResource.getType()) {			case IResource.PROJECT :				componentFolder =					((IProject) parentResource).getFolder(						componentName + "." + EXT_COMPONENT);				componentJavaFile =					ProjectHelper.getProjectSourceFolder(						(IProject) parentResource).getFile(						new Path(componentName + "." + EXT_JAVA));				componentApiFile =					((IProject) parentResource).getFile(						componentName + "." + EXT_API);				break;			case IResource.FOLDER :				componentFolder =					((IFolder) parentResource).getFolder(						componentName + "." + EXT_COMPONENT);				componentJavaFile =					ProjectHelper.getSubprojectSourceFolder(						(IFolder) parentResource,						true).getFile(						componentName + "." + EXT_JAVA);				componentApiFile =					((IFolder) parentResource).getFile(						componentName + "." + EXT_API);				break;			default :				throw new InvocationTargetException(					new Exception("Wrong parent resource - check validation"));		}		IFile componentDescription =			componentFolder.getFile(componentName + "." + EXT_WOD);		IFile componentWoo =			componentFolder.getFile(componentName + "." + EXT_WOO);		IFile componentHTMLTemplate =			componentFolder.getFile(componentName + "." + EXT_HTML);		createResourceFolderInProject(componentFolder, monitor);		fileCreator().create(componentDescription, monitor);		if (createBodyTag) {			fileCreator().create(componentHTMLTemplate, monitor);		} else {			// create empty file			componentHTMLTemplate.create(				new ByteArrayInputStream("".getBytes()),				false,				null);		}		fileCreator().create(componentJavaFile, "wocomponent", monitor);		if (createApiFile)			fileCreator().create(componentApiFile, monitor);		if (createWooFile)			fileCreator().create(componentWoo, monitor);	}