I would like to add some logic to ComponentTool on mouse move.
First thing I tried to do is to override onMouseMove function of ComponentTool. To do so I created ToosObserver and in onActiveToolChanged I would like to change onMouseMove function of tool if ComponentTool was chosen. It looks like it cannot be done, or I am not smart enough. I would like to mention that I’m new to ruby so maybe I just don’t understand language mechanism for that case.
Another solution I thought is to create custom tool which inherit from ComponentTool but I don’t know is this possible and where native tools reside.