From: Naomi M. <na...@sm...> - 2006-06-16 09:57:59
|
Is the event_code coupled with resource_id or something to give specific events? All Event subclasses have own event(s) and they all start at 1. I presume this is what ends up in Events table as event_code? Or am I missing something? On 14 Jun 2006, at 14:23, Matthew Buckett wrote: > Alistair Young wrote: >> thanks again Matthew! so any tool can use the api in Event.java? Big >> N's going to eventify the email tool. What's this... farly's rusks... >> mmmm, where's me spoon... > > No probs... The existing pattern is that a tool subclasses Event.java > (look at something like MessagingEvent or LogBookEvent) and I'd > even do > this if you don't add any extra fields, just so that Event doesn't > become full of crap. The DB layer supports this. > > UserFileEvent is one of the more recent ones and it uses resource > bundles. > > -- > -- Matthew Buckett, VLE Developer > -- Learning Technologies Group, Oxford University Computing Services > -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ > > > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |