The base object is DecoratedTabPanel

On Apr 10, 10:48 am, skippy <[email protected]> wrote:
> I have aTabSelectorWedgit that I am adding and removing different
> objects based on the users navigation.  The problem is that the
> objects that I remove are still around and catching event from the
> bus.
>
> Is there a way to distroy the objects after removing them from thetabSelector?
>
> Thanks
>
> public void handleSelectedLinkTab(String linkTabName)
>     {
>
>         this.remove(1);
>         int groupIndex = rmHomeTab.getSelectedGroupIndex();
>         int acctIndex = rmHomeTab.getSelectedAccountIndex();
>         if ("Characteristics".equals(linkTabName))
>         {
>             this.add(v4PageGeneratorTab,linkTabName, false);
>             v4PageGeneratorTab.launchLinkTab(groupIndex,
> acctIndex,linkTabName);
>         }else if ("Holdings By Category".equals(linkTabName))
>         {
>             this.add(holdingsByCategoryTab,linkTabName, false);
>             holdingsByCategoryTab.processGoEvent(groupIndex,
> acctIndex);
>         }else if ("Recipients - All".equals(linkTabName))
>         {
>             this.add(v4PageGeneratorTab,linkTabName, false);
>             v4PageGeneratorTab.launchLinkTab(groupIndex,
> acctIndex,linkTabName);
>         }
>         this.selectTab(1);
>
>     }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to