Bug 29853 [Workbench] OpenWithMenu and setFile
The constructor that only takes the IWorkbenchPage mentions that the user must use the setFile method...this method does not exist.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/OpenWithMenu.java
}
        createDefaultMenuItem(menu, file);
        
        
        createOtherMenuItem(menu);
    }
	
    /**
     * Converts the IAdaptable file to IFile or null.
     */
    private IFile getFileResource() {
        if (this.file instanceof IFile) {
            return (IFile) this.file;
        }
        IResource resource = (IResource) this.file
                .getAdapter(IResource.class);
        if (resource instanceof IFile) {
            return (IFile) resource;
        }
       
        return null;
    }
    /* (non-Javadoc)
     * Returns whether this menu is dynamic.
     */
    public boolean isDynamic() {
        return true;
    }
    /**
     * Opens the given editor on the selected file.