queryEvent.setQuery(q);
queryEvent.setId(MapEvent.REMOVE);
mediator.fireQueryEvent(queryEvent);
}
mediator.fireDataMapDisplayEvent(new DataMapDisplayEvent(Application
.getFrame(), map, mediator.getCurrentDataDomain(), mediator
.getCurrentDataNode()));
}
else {
// fix DataMap name, as there maybe a map with the same name already