neo09 / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

Use an event based system for tab selection in TabContainerPresenter #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In its current implementation TabContainerPresenter piggybacks on the 
setInSlot() method and casts the newly added content to find out its tab. This 
has a number of drawbacks:
1) It requires a cast
2) It prohibits us making setInSlot() final
3) It only works with setInSlot() (not addToSlot, etc.)
4) It forces the TabContainerPresenter to know the tabContentSlot

The best way to do this would probably be to use an event that the 
TabContainerPresenter would listen to and that the content's proxy would fire 
whenever it is revealed.

Original issue reported on code.google.com by philippe.beaudoin on 24 Aug 2010 at 10:18

GoogleCodeExporter commented 9 years ago

Original comment by philippe.beaudoin on 22 Sep 2010 at 1:35

GoogleCodeExporter commented 9 years ago
Bumping to 0.6, preparing release 0.5.

Original comment by philippe.beaudoin on 25 Jan 2011 at 6:33

GoogleCodeExporter commented 9 years ago
Bumping to 0.7, preparing release 0.6.

Original comment by philippe.beaudoin on 6 Jun 2011 at 8:17

GoogleCodeExporter commented 9 years ago

Original comment by philippe.beaudoin on 1 Feb 2012 at 6:52