RemoveRelationshipAction action = actionManager
.getAction(RemoveRelationshipAction.class);
if (objEnt != null) {
action.removeObjRelationships(objEnt, objectRel);
controller.fireObjEntityDisplayEvent(new EntityDisplayEvent(
this,
objEnt,
objEnt.getDataMap(),
(DataChannelDescriptor) controller.getProject().getRootNode()));
}
if (dbEnt != null) {
action.removeDbRelationships(dbEnt, dbRel);
controller.fireDbEntityDisplayEvent(new EntityDisplayEvent(this, dbEnt, dbEnt
.getDataMap(), (DataChannelDescriptor) controller
.getProject()
.getRootNode()));
}
}