neo09 / gwt-platform

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

Allow presenter to add/remove themselve to a slot using a message #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, firing a RevealContentEvent() will always end up calling 
PresenterWidget#setContent(). It would be cool if this event was augmented to 
allow a presenter to add itself as content (via #addContent()) or event to 
remove itself from the slot. This would require a new method, 
PresenterWidget#removeContent().

In this case, the RevealContentEvent() would probably be better named 
ModifyContentEvent().

Original Issue:
http://code.google.com/p/puzzlebazar/issues/detail?id=91

Original issue reported on code.google.com by philippe.beaudoin on 27 Mar 2010 at 6:08

GoogleCodeExporter commented 9 years ago
Bumped to V0.2. Nice to have, but not required right now.

Original comment by philippe.beaudoin on 1 Apr 2010 at 6:41

GoogleCodeExporter commented 9 years ago
No real request for this, bumping up.

Original comment by philippe.beaudoin on 13 May 2010 at 9:44

GoogleCodeExporter commented 9 years ago
removeContent already exist, do you have already resolved this issue and didn't 
saw it ? :D

Original comment by goudreau...@gmail.com on 17 Aug 2010 at 1:42

GoogleCodeExporter commented 9 years ago
The issue is about invoking these methods via a message on the EventBus. Right 
now you can only do it for setContent via a RevealContentEvent.

Original comment by philippe.beaudoin on 17 Aug 2010 at 5:28

GoogleCodeExporter commented 9 years ago

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