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
/* (non-Javadoc)
     * Method declared on WorkspaceAction.
     */
    protected void invokeOperation(IResource resource, IProgressMonitor monitor)
            throws CoreException {
         
        
        
        if (resource.getType() == IResource.PROJECT) {
            checkLocationDeleted((IProject) resource);
        } else if (resource.getType() == IResource.ROOT) {
            IProject[] projects = ((IWorkspaceRoot) resource).getProjects();
            for (int i = 0; i < projects.length; i++) {
                checkLocationDeleted(projects[i]);
            }
        }
        resource.refreshLocal(IResource.DEPTH_INFINITE, monitor);
    }
    /**
     * The <code>RefreshAction</code> implementation of this
     * <code>SelectionListenerAction</code> method ensures that this action is
     * enabled if the selection is empty, but is disabled if any of the selected 
     * elements are not resources.
     */
    protected boolean updateSelection(IStructuredSelection s) {
        return (super.updateSelection(s) || s.isEmpty())
                && getSelectedNonResources().size() == 0;
    }
    /**
     * Handle the key release.