Bug 117360 [IDE] RefreshAction needs to remove reference to java.io.file
M3 RefreshAction needs to remove reference to java.io.file for the flexibile workspaces work
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RefreshAction.java
IIDEHelpContextIds.REFRESH_ACTION);
    }
    /**
     * Checks whether the given project's location has been deleted.
     * If so, prompts the user with whether to delete the project or not.
     */
    void checkLocationDeleted(IProject project) throws CoreException {
        if (!project.exists())
            return;
        File location = project.getLocation().toFile();
        if (!location.exists()) {
            String message = NLS.bind(IDEWorkbenchMessages.RefreshAction_locationDeletedMessage, project.getName(), location.getAbsolutePath());
            final MessageDialog dialog = new MessageDialog(
                    getShell(),
                    IDEWorkbenchMessages.RefreshAction_dialogTitle, 
                    null, 
                    message, MessageDialog.QUESTION, new String[] {
                            IDialogConstants.YES_LABEL,
                            IDialogConstants.NO_LABEL }, 0); 
            
            getShell().getDisplay().syncExec(new Runnable() {
                public void run() {
                    dialog.open();
                }
            });
            
            if (dialog.getReturnCode() == 0) { 
                project.delete(true, true, null);
            }
        }