Bug 309271 Wrong resolved location in the New File wizard
Build id: I20100406-1034 I'll attach a screenshot illustrating the issue.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java
* </p>
	 * 
	 * @param control
	 *            a control from which to obtain the current font
	 */
	protected void initializeDialogUnits(Control control) {
		
		GC gc = new GC(control);
		gc.setFont(control.getFont());
		fontMetrics = gc.getFontMetrics();
		gc.dispose();
	}
	/**
	 * Tries to resolve the value entered in the link target field as a
	 * variable, if the value is a relative path. Displays the resolved value if
	 * the entered value is a variable.
	 */
	private void resolveVariable() {
		IPathVariableManager pathVariableManager;
		
		if (updatableResourceName.getResource() != null)
			pathVariableManager = updatableResourceName.getResource().getPathVariableManager();
		else
			pathVariableManager = ResourcesPlugin
									.getWorkspace().getPathVariableManager();
		IPath path = new Path(linkTarget);
		URI uri = URIUtil.toURI(path);
		URI resolvedURI = pathVariableManager.resolveURI(uri);
		IPath resolvedPath = URIUtil.toPath(resolvedURI);