Hi Michael,
> Hello ImageJ community
>
> I'm looking for a way to overwrite a menu command, because I need to modify the functionality of the scrollingtool(hand) of imagej.
> Maybe there is an event which can be catched after the scrollingtool gets activated by the user.
> Does anybody know how to do this?
>
You have to extend the ij.gui.ImageCanvas and override the
mousePressed/mouseDragged/mouseReleased methods to read from
Toolbar.getToolID() == Toolbar.HAND, and then do what you want with it.
Then just create ImageWindow instances with that extended canvas and the
ImagePlus of interest.
Albert
--
Albert Cardona
http://albert.rierol.net