/**
* @generated
*/
protected Command addDeleteViewCommand(Command mainCommand,
DestroyRequest completedRequest) {
Command deleteViewCommand = getGEFWrapper(new DeleteCommand(
getEditingDomain(), (View) getHost().getModel()));
return mainCommand == null ? deleteViewCommand : mainCommand
.chain(deleteViewCommand);
}