for (EventListener listener : listenerList.getListeners(EmbeddableListener.class)) {
EmbeddableListener temp = (EmbeddableListener) listener;
switch (e.getId()) {
case MapEvent.ADD:
temp.embeddableAdded(e, map);
break;
case MapEvent.CHANGE:
temp.embeddableChanged(e, map);
break;
case MapEvent.REMOVE: