// the order of the following is checked in most specific to generic because
// of the inheritance heirarchy
de.setRefired(true);
if (de instanceof EntityDisplayEvent) {
EntityDisplayEvent ede = (EntityDisplayEvent) de;
ede.setEntityChanged(true);
if (ede.getEntity() instanceof ObjEntity) {
fireObjEntityDisplayEvent(ede);
}
else if (ede.getEntity() instanceof DbEntity) {
fireDbEntityDisplayEvent(ede);
}
}
else if (de instanceof EmbeddableDisplayEvent) {
EmbeddableDisplayEvent ede = (EmbeddableDisplayEvent) de;
ede.setEmbeddableChanged(true);
fireEmbeddableDisplayEvent(ede);
}
else if (de instanceof ProcedureDisplayEvent) {
ProcedureDisplayEvent pde = (ProcedureDisplayEvent) de;
pde.setProcedureChanged(true);