@Override
    public boolean isEnabled() {
      VirtualFile file = getSelectedFile();
      return file != null && file.isValid() && ProblemsView.getDocument(getProject(), file) != null;
    }
@Override
    public boolean isEnabled()