Hi,
I have menu command which will close all the open views in my application. When 
this happens, the map area increases and viewport is rendered.
Now, the problem is, that I have to explicitly click the 'Show All' action to 
fit the map. I need it to happen programatically. I have tried executing 
'ZoomExtentCommand' but it doesn't give the desired result. I guess it happens 
because the map is still being rendered when this command is executed.
Is there a way to either find the status of the renderer and wait for rendering 
to get over or execute 'ZoomExtentCommand' after rendering is done?
ThanksElvie                                       
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to