Bug 42655 SourceAttachmentBlock does not use dialog font for all widgets [dialogs] [build path]
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
private IPath modifyPath(IPath path, String varName) {
		if (varName == null || path == null) {
			return null;
		}
		if (path.isEmpty()) {
			return new Path(varName);
		}
		
		IPath varPath= JavaCore.getClasspathVariable(varName);
		if (varPath != null) {
			if (varPath.isPrefixOf(path)) {
				path= path.removeFirstSegments(varPath.segmentCount());
			} else {
				path= new Path(path.lastSegment());
			}
		} else {
			path= new Path(path.lastSegment());
		}
		return new Path(varName).append(path);
	}
	/**
	 * Creates a runnable that sets the source attachment by modifying the project's classpath.
	 * @deprecated use getRunnable() instead
	 */
	public IRunnableWithProgress getRunnable(final IJavaProject jproject, final Shell shell) {
		fProject= jproject;
		return getRunnable(shell);
	}
	/**
	 * Creates a runnable that sets the source attachment by modifying the