ictvmt / mvp4g

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

Automatic history token conversion #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Motivation:
There usually are more events of the same "kind", that is many events with no 
parameters, and many events with just one id (typed int or long) as a 
parameter. To support history for these events, we have to create a method for 
each event in a history converter (well, not for no-param events).

Requested feature:
In compile time, we could generate a history converter for each event that was 
annotated to use this default converter. In the generated methods of this 
default converter we can use a default mapping of primitive typed event 
parameters, that can even work with multiple event parameters.

The default behaviour could be to take the event method name, append a ':' 
sign, then append each parameter represented as strings, delimited by a colon.

I think this feature could cover most of our history conversion needs.

Original issue reported on code.google.com by hhcofc...@gmail.com on 21 Oct 2010 at 10:27

GoogleCodeExporter commented 8 years ago
See this discussion for more information: 
http://groups.google.com/group/mvp4g/browse_thread/thread/43c4056ae60eeb8c

Original comment by plcoir...@gmail.com on 21 Oct 2010 at 1:58

GoogleCodeExporter commented 8 years ago

Original comment by plcoir...@gmail.com on 20 Jan 2011 at 9:43

GoogleCodeExporter commented 8 years ago
Another discussion to improve this feature: 
http://groups.google.com/group/mvp4g/browse_thread/thread/e7f30f1a3731b073

Original comment by plcoir...@gmail.com on 25 Jan 2011 at 2:36

GoogleCodeExporter commented 8 years ago
Included in the last snapshot

Original comment by plcoir...@gmail.com on 8 Feb 2011 at 1:35