@Override
    public boolean isAlwaysVisible() {
      var pane = getCurrentProjectViewPane();
      return pane != null && pane.supportsAbbreviatePackageNames() && flattenPackages.isEnabled(pane);
    }
@Override
    public boolean isAlwaysVisible()