limit the visibility of the popup menu and toolbar menu only to IFile
and ICompilationUnit and ITextSelection