I have run into a design issue: - When the boundary selected is screen and I click zoom to extent... nothing happens. - When the boundary selected is all and the use boundary is ticked on the Search View the results aren't different Both situations are programmatically correct but would be confusing for users.
I have presented the situation to one of our staff here and he was happy with the buttons being disabled if the functionality was not appropriate. At first look it seemed like I should provide methods in the strategies to check whether a button/action should be disabled and then after a change in the strategy enable or disable the relevant buttons. However after trying to implement this I was unable to find a way to access the buttons and looking at other code it seems that setting up some kind of a listener arrangement might be more appropriate. So in summary I am unsure which approach to take and I am unable to find examples of either in the current code (although it is highly likely that I simply missed it as I'm only starting to get the hang of finding my way around the plugins and packages) Cheers Paul
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
