Transform control customization

Hello All,

I am looking for making an transform tool. Same as cad.

My need is i have a point and i want to move my meshes along that point in x,y,z direction.

I need axis helpers so user can move the meshes straight to the axis originated from the point.

They can also consider the selected point as base point and move in all the direction.

They movement will stop with the user select another point.

Means its a movement from pointA to point B