private void addItems ( List < ExampleQuery > examples ) { if ( examples != null && examples . size ( ) > 0 ) { egContainer . addAll ( examples ) ; showTab ( ) ; } else { hideTabSheet ( ) ; } }
Add items if there are any and put the example query tab in the foreground .