public int menuAction(int action) {
switch ( action ) {
case ACTION_ADD:
Admin admin = Admin.getInstance();
if ( type == RoleNode.COLLECTION ) {
PermissionsDialog perms = new PermissionsDialog(admin, col);
perms.show();
}
break;
}
return REFRESH_SELF;