private void addFilters ( MpxjTreeNode parentNode , List < Filter > filters ) { for ( Filter field : filters ) { final Filter f = field ; MpxjTreeNode childNode = new MpxjTreeNode ( field ) { @ Override public String toString ( ) { return f . getName ( ) ; } } ; parentNode . add ( childNode ) ; } }
Add filters to the tree .