EventListener[] list = listenerList.getListeners(QueryListener.class);
for (int i = 0; i < list.length; i++) {
QueryListener listener = (QueryListener) list[i];
switch (e.getId()) {
case MapEvent.ADD:
listener.queryAdded(e);
break;
case MapEvent.CHANGE:
listener.queryChanged(e);
break;
case MapEvent.REMOVE: