Updating a panel based on other panel's events
I am a starter on GXT, excuse me if what I ask is somewhat trivial.
I have a horizontal panel. I added 2 contentpanels to that. left content panel has a contextmenutree. Right content panel has a vertical panel which contains a reorganizing drag and drop tree. What I need to do is if a child item of left context menu tree is selected, I'd like to update right panel, namely I want to refresh or recreate the reorganizing tree. I am thinking about passing reorganizing tree object to contextmenutree class while using the constructor, so that in the event handler I can use the object to refresh the reorganising tree. But this solution looks humble to me, I am wondering if there's any better way of accomplishing this.
Thanks in advance