Bug 117363 PathVariableSelectionDialog has references to java.io.file
M3 PathVariableSelectionDialog needs to remove it's java.io.File references
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/PathVariableSelectionDialog.java
private void setExtensionResult(
            PathVariablesGroup.PathVariableElement variable, File extensionFile) {
        IPath extensionPath = new Path(extensionFile.getPath());
        int matchCount = extensionPath.matchingFirstSegments(variable.path);
        IPath resultPath = new Path(variable.name);
        extensionPath = extensionPath.removeFirstSegments(matchCount);
        resultPath = resultPath.append(extensionPath);
        setSelectionResult(new String[] { resultPath.toOSString() });
    }
    /**
     * Updates the enabled state of the Extend button based on the 
     * current variable selection.
     */
    private void updateExtendButtonState() {
        PathVariablesGroup.PathVariableElement[] selection = pathVariablesGroup
                .getSelection();
        Button extendButton = getButton(EXTEND_ID);
        if (extendButton == null)
            return;
        if (selection.length == 1) {
            File file = selection[0].path.toFile();
            if (file.exists() == false || file.isFile())
                extendButton.setEnabled(false);
            else
                extendButton.setEnabled(true);
        } else
            extendButton.setEnabled(false);
    }
}