private final Action REMOVE = new Action("Remove event");
@Override
public void handleAction(Action action, Object sender, Object target) {
if (action == ADD) {
BasicEvent event = new BasicEvent();
event.setStart(new Date(100, 1, 1));
event.setEnd(new Date(100, 1, 1));
editEvent(event);
} else if (action == EDIT) {
editEvent((BasicEvent) target);
} else if (action == REMOVE) {
events.removeItem(target);