this.addLocalFrameworkSectionToPBProject = addLocalFrameworkSectionToPBProject;
	public WOFrameworkDialogWrapper(		IWorkbenchPart part,		IJavaProject projectToUpdate,		String classPathVariableName) {		super();		this.part = part;		this.classPathVariableName = classPathVariableName;		// expand class path			expandedClassPathVariable =			JavaCore.getClasspathVariable(classPathVariableName);		if (expandedClassPathVariable == null) {			WOLipsPlugin.handleException(				part.getSite().getShell(),				new Exception(					"unable to resolve eclipse class path variable: "						+ classPathVariableName),				"unable to resolve eclipse class path variable: "					+ classPathVariableName);			return;		}		frameworkRootPath = expandedClassPathVariable.append("Library/Frameworks");		// get old class path values to limit selection on FileSystemElement (see below)		this.projectToUpdate = projectToUpdate;		try {			oldClasspathEntries = this.projectToUpdate.getRawClasspath();		} catch (JavaModelException e) {			WOLipsPlugin.handleException(part.getSite().getShell(), e, null);			return;		}		FrameworkRootOperation op =			new FrameworkRootOperation(frameworkRootPath.toFile());		try {			new ProgressMonitorDialog(				part.getSite().getWorkbenchWindow().getShell()).run(				false,				false,				op);			//part.getSite().getWorkbenchWindow().run(false, false, op);		} catch (InvocationTargetException e) {			WOLipsPlugin.handleException(part.getSite().getShell(), e, null);		} catch (InterruptedException e) {			WOLipsPlugin.handleException(part.getSite().getShell(), e, null);		}		//MessageDialog.openInformation(this.part.getSite().getShell(), "Error", "Selection is not a folder!");		FileSystemElement elem = op.getResult();		dialog =			new FileSelectionDialog(				part.getSite().getShell(),				elem,				Messages.getString("WOFrameworkDialogWrapper.message"));		dialog.setTitle(Messages.getString("WOFrameworkDialogWrapper.title"));	}