Doubleclick over scatter line

I was wondering if there was a way to detect a double click on a stroke before I start doing weird things in the code, in order to open a configuration box to configure the stroke.