addVertexCommand.setMap(handler.getContext().getMap());
addVertexCommand.run(new NullProgressMonitor());
} catch (Exception e1) {
throw (RuntimeException) new RuntimeException( ).initCause( e1 );
}
commands.add(new UndoRedoCommand(addVertexCommand));
}
}
commands.add(handler.getCommand(handler.getAcceptBehaviours()));
UndoableComposite undoableComposite = new UndoableComposite(commands);