Bug 152035 [BiDi] Menu items do not appear for IFile resources when -nl iw is used
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkbenchFile.java
/* (non-Javadoc)
	 * @see org.eclipse.ui.internal.ide.model.WorkbenchResource#getLabel(java.lang.Object)
	 */
	public String getLabel(Object o) {
		return TextProcessor.process(super.getLabel(o));
	}
	/**
     *	Answer the appropriate base image to use for the passed resource, optionally
     *	considering the passed open status as well iff appropriate for the type of
     *	passed resource
     */
    protected ImageDescriptor getBaseImage(IResource resource) {
		IContentType contentType = null;
		
		if (resource instanceof IFile) {
			contentType = IDE.guessContentType((IFile)resource);
		}
        
        ImageDescriptor image = PlatformUI.getWorkbench().getEditorRegistry()
                .getImageDescriptor(resource.getName(), contentType);
        if (image == null) {
			image = PlatformUI.getWorkbench().getSharedImages()
                    .getImageDescriptor(ISharedImages.IMG_OBJ_FILE);
		}
        return image;
    }
}