@Override
public void processEvents(ModuleMetaModel metaModel, EventQueue queue) {
// Handle root events
while (queue.hasEvents()) {
MetaModelEvent event = queue.popEvent();
MetaModelObject obj = event.getObject();
if (obj instanceof ApplicationMetaModel) {
ApplicationMetaModel application = (ApplicationMetaModel)obj;
if (event.getType() == MetaModelEvent.AFTER_ADD) {
emitApplication(metaModel.processingContext, application);
}