}
int[] rows = getSelectedRows();
for (int row : rows) {
if (row > 0) {// to ensure not delete project
BOTask task = (BOTask) getValueAt(row, -1);
if (task.canBeDeleted(currentUser) == false) {
StatusBar.showErrorStatusMessage("You do not have sufficient privilege to delete task");
continue;
}
ProjectCalculator.taskDeleted(task, currentUser);