public void setFlattenPackages(String paneId, boolean flattenPackages) {
    if (this.flattenPackages.isEnabled(paneId)) {
      this.flattenPackages.setSelected(flattenPackages);
    }
  }
public void setFlattenPackages(String paneId, boolean flattenPackages)