ictvmt / mvp4g

Automatically exported from code.google.com/p/mvp4g
0 stars 0 forks source link

Eventhandler can't be used as startPresenter in @Events annotation in modules #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Try to use an EventHandler as startPresenter in the eventbus auf a mvp4g module 
does not work because a EventHandler does not extend Presenterinterface.

Using an EventHandler as an startPResenter when a module is loaded would be 
nice. In some cases an Handler an decide, what to do and fire the correct 
event. 

Workaround is to use a view without any widget and a normal presenter.

OS X 10.7.2, MVP4G 1.4.1 Snapshot 6, GWT 2.4

Original issue reported on code.google.com by frank.hossfeld on 27 Dec 2011 at 2:15

GoogleCodeExporter commented 8 years ago
This is already possible with the NoStartPresenter parameter:
http://groups.google.com/group/mvp4g/browse_thread/thread/c8668023cfc42a6c/30489
22853b31c32

Original comment by plcoir...@gmail.com on 16 Jan 2012 at 4:01