this.dataMap = dataMap;
}
@Override
public void redo() throws CannotRedoException {
RemoveAttributeAction action = actionManager
.getAction(RemoveAttributeAction.class);
if (objEntity != null) {
action.removeObjAttributes(objEntity, objAttributes);
controller.fireObjEntityDisplayEvent(new EntityDisplayEvent(
this,
objEntity,
dataMap,
domain));
}
if (dbEntity != null) {
action.removeDbAttributes(dbEntity.getDataMap(), dbEntity, dbAttributes);
controller.fireDbEntityDisplayEvent(new EntityDisplayEvent(
this,
dbEntity,
dataMap,
domain));
}
if (embeddable != null) {
action.removeEmbeddableAttributes(embeddable, embeddableAttrs);
controller.fireEmbeddableDisplayEvent(new EmbeddableDisplayEvent(
this,
embeddable,
dataMap,
domain));