@Override
    public boolean isEnabled(@NotNull AbstractProjectViewPane pane) {
      return ProjectViewDirectoryHelper.getInstance(project).supportsFlattenPackages();
    }
@Override
    public boolean isEnabled(@NotNull AbstractProjectViewPane pane)