161162163164165166167168169170171
} break; case ACTION_PERMISSIONS: PermissionsDialog perms = new PermissionsDialog(admin, col, id); perms.show(); return REFRESH_PARENT; } return REFRESH_NONE;
147148149150151152153154155156157
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;