IAtomContainer undoRedoContainer = chemModel.getBuilder()
.newInstance(IAtomContainer.class);
undoRedoContainer.addAtom(bond.getAtom(0));
undoRedoContainer.addAtom(bond.getAtom(1));
Vector2d end = new Vector2d();
end.sub(point, bond.getAtom(0).getPoint2d());
IUndoRedoable undoredo = getUndoRedoFactory().getMoveAtomEdit(
undoRedoContainer, end, "Move atom");
getUndoRedoHandler().postEdit(undoredo);
}
moveToWithoutUndo(bond, point);