protected Command getDestroyElementCommand(View view) {
EditPart editPart = (EditPart) getHost().getViewer()
.getEditPartRegistry().get(view);
DestroyElementRequest request = new DestroyElementRequest(
getEditingDomain(), false);
return editPart.getCommand(new EditCommandRequestWrapper(request,
Collections.EMPTY_MAP));
}