use of org.apache.cayenne.modeler.action.RemoveAction in project cayenne by apache.
the class CreateEmbeddableUndoableEdit method undo.
@Override
public void undo() throws CannotUndoException {
RemoveAction action = actionManager.getAction(RemoveAction.class);
action.removeEmbeddable(dataMap, embeddable);
}
use of org.apache.cayenne.modeler.action.RemoveAction in project cayenne by apache.
the class CreateObjEntityUndoableEdit method undo.
@Override
public void undo() throws CannotUndoException {
RemoveAction action = actionManager.getAction(RemoveAction.class);
action.removeObjEntity(map, objEntity);
}
use of org.apache.cayenne.modeler.action.RemoveAction in project cayenne by apache.
the class CreateDataMapUndoableEdit method undo.
@Override
public void undo() throws CannotUndoException {
RemoveAction action = actionManager.getAction(RemoveAction.class);
controller.fireDomainDisplayEvent(new DomainDisplayEvent(this, domain));
action.removeDataMap(map);
}
use of org.apache.cayenne.modeler.action.RemoveAction in project cayenne by apache.
the class CreateDbEntityUndoableEdit method undo.
@Override
public void undo() throws CannotUndoException {
RemoveAction action = actionManager.getAction(RemoveAction.class);
action.removeDbEntity(map, entity);
}
use of org.apache.cayenne.modeler.action.RemoveAction in project cayenne by apache.
the class CreateNodeUndoableEdit method undo.
@Override
public void undo() throws CannotUndoException {
RemoveAction action = actionManager.getAction(RemoveAction.class);
action.removeDataNode(node);
}
Aggregations