boolean (final SelectInContext context) { final VirtualFile file = context.getVirtualFile(); FileStatus fileStatus = ChangeListManager.getInstance(myProject).getStatus(file); return ProjectLevelVcsManager.getInstance(myProject).getAllActiveVcss().length != 0 && !fileStatus.equals(FileStatus.NOT_CHANGED); }