Add AbstractEventTrigger for simpler event based trigger creation
fix supresswarning