add switch statement to ShapeMouseHandler