Mouse events are sent to the current tool. Tour can hunt down this
tool (use applicationgis to find the tool manager) and then send it
mouse event objects. You may wish to do so from the display thread.

To simulate mouse and keyboard interaction more generally for test
cases use SWTBot

--
Jody Garnett

On 07/02/2012, at 12:31 AM, Alberto Debiasi <[email protected]> wrote:

> Hello everybody,
>
> How can I "emulate" the click of the mouse on the map?
>
> For example with a command like this:
>
> .clickOnTheMap(currentMap,coordinates);
>
> Thanks.
> Alberto
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to