Bug 105185 [LinkedResources] Can the New->File->Advanced->Link to file in the file system default to the file name?
When one does "New->File->Advanced->Link to file in the file system", the "file name" field is always blank. It'd be nice if it would default to the file name on the file system.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java
path = file.getParent();
                if (path != null)
                    dialog.setFilterPath(path);
            }
            dialog
                    .setMessage(IDEWorkbenchMessages.CreateLinkedResourceGroup_targetSelectionLabel);
            selection = dialog.open();
        }
        if (selection != null)
            linkTargetField.setText(selection);
    }
    /**
     * Opens a path variable selection dialog
     */
    private void handleVariablesButtonPressed() {
        int variableTypes = IResource.FOLDER;
         
        
        if (type == IResource.FILE)
            variableTypes |= IResource.FILE;
        PathVariableSelectionDialog dialog = new PathVariableSelectionDialog(
                linkTargetField.getShell(), variableTypes);
        if (dialog.open() == IDialogConstants.OK_ID) {
            String[] variableNames = (String[]) dialog.getResult();
            if (variableNames != null && variableNames.length == 1)
                linkTargetField.setText(variableNames[0]);
        }
    }
    /**
     * Initializes the computation of horizontal and vertical dialog units