Bug 310196 [LinkedResources] The Linked Resource property page does not follow dialog fonts
[LinkedResources] The Linked Resource property page does not follow dialog fonts, both under the 'Path Variables' and 'Linked Resources' tabs.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/PathVariablesGroup.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();
    }
    /**
     * (Re-)Initialize collections used to mantain temporary variable state.
     */
    private void initTemporaryState() {
        String[] varNames = pathVariableManager.getPathVariableNames();
        tempPathVariables.clear();
        for (int i = 0; i < varNames.length; i++) {
        	
        	if (varNames[i].equals(PARENT_VARIABLE_NAME))
        		continue;
            try {
				URI uri = pathVariableManager.getURIValue(varNames[i]);
				
				if (uri != null) {
				    IPath value = URIUtil.toPath(uri);
				    if (value != null) {
				        boolean isFile = value.toFile().isFile();
				        if ((isFile && (variableType & IResource.FILE) != 0)
				                || (isFile == false && (variableType & IResource.FOLDER) != 0)) {