private void setReportFormTabs ( final TabRenderReportForm report ) { if ( ! report . getTabs ( ) . isEmpty ( ) ) { // Tabs are already set, do nothing return ; } final Set < AggregatedTabMapping > tabs = this . getTabs ( ) ; if ( ! tabs . isEmpty ( ) ) { report . getTabs ( ) . add ( tabs . iterator ( ) . next ( ) . getId ( ) ) ; } }
Set the tab names to have first selected by default