@Override
    public boolean isFlattenPackages() {
      ProjectViewDirectoryHelper helper = getProjectViewDirectoryHelper();
      if (helper == null || !helper.supportsFlattenPackages()) return false;
      ProjectView view = getProjectView();
      return view != null && view.isFlattenPackages(getPaneID(view));
    }
@Override
    public boolean isFlattenPackages()