protected void addProfilePackagesIndexContents ( Profiles profiles , String text , String tableSummary , Content body , String profileName ) { HtmlTree div = new HtmlTree ( HtmlTag . DIV ) ; div . addStyle ( HtmlStyle . indexHeader ) ; addAllClassesLink ( div ) ; addAllPackagesLink ( div ) ; addAllProfilesLink ( div ) ; body . addContent ( div ) ; addProfilePackagesList ( profiles , text , tableSummary , body , profileName ) ; }
Adds profile packages index contents . Call appropriate methods from the sub - classes . Adds it to the body HtmlTree