"Error creating entity listener",
JOptionPane.ERROR_MESSAGE);
}
else {
ObjEntity objEntity = getProjectController().getCurrentObjEntity();
EntityListener listener = new EntityListener(listenerClass);
createEntityListener(objEntity, listener);
application.getUndoManager().addEdit(
new CreateEntityListenerUndoableEdit(objEntity, listener));
}
}