if ( menu.getItems().isEmpty() )
{
List<MavenReport> categoryReports = categories.get( MavenReport.CATEGORY_PROJECT_INFORMATION );
if ( !isEmptyList( categoryReports ) )
{
MenuItem item = createCategoryMenu( i18n.getString( "site-tool", llocale,
"decorationModel.menu.projectinformation" ),
"/project-info.html", categoryReports, llocale );
menu.getItems().add( item );
found = true;
}
categoryReports = categories.get( MavenReport.CATEGORY_PROJECT_REPORTS );
if ( !isEmptyList( categoryReports ) )
{
MenuItem item = createCategoryMenu( i18n.getString( "site-tool", llocale,
"decorationModel.menu.projectreports" ),
"/project-reports.html", categoryReports, llocale );
menu.getItems().add( item );
found = true;
}