Update InfiniteLine.py

Add some extra functionnalities such as a contextMenu