hp.add( ok );
pop.addAttribute( constants.SelectPackageToApplyPermissionTo(), hp );
}
private CategoryExplorerWidget createCategoryExplorerWidget(final Map<String, List<String>> perms, final Panel vp, final FormStylePopup pop, final String sel) {
CategoryExplorerWidget cat = new CategoryExplorerWidget( new CategorySelectHandler() {
public void selected(String selectedPath) {
if ( perms.containsKey( sel ) ) {
perms.get( sel ).add( "category=" + selectedPath ); //NON-NLS
} else {
List<String> ls = new ArrayList<String>();