// commands.add(new SetEditStateCommand(handler, EditState.MODIFYING));
UndoableComposite undoableComposite = new UndoableComposite(commands);
undoableComposite.setMap(handler.getContext().getMap());
try {
undoableComposite.execute(new NullProgressMonitor());
} catch (Exception e1) {
throw (RuntimeException) new RuntimeException().initCause(e1);
}
return new UndoRedoCommand(undoableComposite);
}