I'm using 4.0.1 of IDEA. I'm trying to get the class name of a
selectedTextEditor. However, it appears that the getSelectedFile on
FileEditorManager is no longer available, only getSelectedFiles which
returns an array of VirtualFile(s). It strikes me as a bit of a kludge
to get vFile to get the selected file and hence the VirtualFile. Is
there a better way?