On Thu, Mar 18, 2010 at 5:20 PM, Uli Kusterer <[email protected]> wrote:

> The setTreeView: method has the wrong tab number. It would probably be
> better to use constants for the selectedTab so that changes happen
> everywhere.
>
>  One could even use the tab view item identifiers, so one can painlessly
> re-order, remove and add items in the future without having to worry about
> other panes breaking.
>

The code to handle the view change via the menu doesn't reference the
segmented control at all actually. That is being updated via some other
means that I didn't investigate. I came to a similar conclusion though,
using the menu tag to funnel the code through a single action method.

Kevin

Reply via email to