IRunnableWithProgress op = new WorkspaceModifyDelegatingOperation( new WOProjectCreator(newProject, projectTemplateID,getLocationPath()));
WOProjectCreator aWOProjectCreator = null; if(this.useDefaults()) aWOProjectCreator = new WOProjectCreator(newProject, projectTemplateID,Platform.getLocation()); else aWOProjectCreator = new WOProjectCreator(newProject, projectTemplateID,getLocationPath()); IRunnableWithProgress op = new WorkspaceModifyDelegatingOperation(aWOProjectCreator);
	public boolean createProject() {		IProject newProject = getProjectHandle();		String projectTemplateID =			Messages.getString("webobjects.projectType.java.application");		IRunnableWithProgress op =			new WorkspaceModifyDelegatingOperation(				new WOProjectCreator(newProject, projectTemplateID,getLocationPath()));		try {			getContainer().run(false, false, op);		} catch (InvocationTargetException e) {			WOLipsPlugin.handleException(				getShell(),				e.getTargetException(),				null);			return false;		} catch (InterruptedException e) {			//WOLipsUtils.handleException(getShell(), e, null);			return false;		}		IResource fileToOpen =  ProjectHelper.getProjectSourceFolder(newProject).getFile(new Path("Application.java"));		if (fileToOpen != null) {			elementToOpen = fileToOpen;		}		return true;	}