There is indeed a way. The ToolManager provides a method for setting
the active tool. I think it takes an ID.
ApplicationGIS.getToolManager() will return the tool manager.
Jesse
On Mar 27, 2007, at 11:23 AM, Mary Khan wrote:
Does anybody know if there is a way to switch which tool is active
programmatically ? I know you can get the ToolManager and get the
active tool, but there seems to be no way to set a tool as active
that I have found.
Thanks,
MT Khan
_______________________________________________
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