// only show the buttons if we were given a set of permissions - passing in null is a way to say you only want the list, no actions
if (globalPermissions != null) {
boolean hasGlobalDelete = globalPermissions.contains(Permission.DELETE_BUNDLES);
addTableAction(MSG.common_button_new(), null, ButtonColor.BLUE, new RoleAuthorizedTableAction(
BundlesListView.this, Permission.CREATE_BUNDLES, Permission.CREATE_BUNDLES_IN_GROUP) {
@Override
public void executeAction(ListGridRecord[] selection, Object actionValue) {
new BundleCreateWizard(globalPermissions).startWizard();