public Collection < SideBarItemDescriptor > getSideBarItems ( SideBarSectionDescriptor descriptor ) { List < SideBarItemDescriptor > supportedItems = new ArrayList < SideBarItemDescriptor > ( ) ; for ( SideBarItemDescriptor item : items ) { if ( item . isMemberOfSection ( descriptor ) ) { supportedItems . add ( item ) ; } } return supportedItems ; }
Gets all side bar items for the specified side bar section .