A Contemporary Look at Shimon & Levi

Were Shimon & Levi justified in their killing the people of Shechem? When Yaakov criticizes them, why does he emphasize what they did to HIM, not what they did to the whole family?