handler.deleteOtherElements(diagramEditPart);
monitor.worked(1);
monitor.subTask("Deleting actual elements");
for (GeneratedElement actual : result) {
handler.deleteElement(this.handler, actual, monitor, null, diagramEditPart);
}
monitor.done();
return true;