My first plugin: Show Stem Thickness

Would it be possible to make the Mouse Double Clicking event accessible, too, while you’re at it?
Here is the old post: