001package org.intellimate.izou.events; 002 003import org.intellimate.izou.identification.Identifiable; 004 005/** 006 * This class can control the whether Events-Dispatcher get Fired or not. 007 * It is expected, that the method-implementation gets executed quickly. 008 */ 009public interface EventsControllerModel extends Identifiable { 010 011 /** 012 * Controls whether the fired Event should be dispatched to all the listeners 013 * 014 * This method should execute quickly 015 * 016 * @param event the ID of the event 017 * @return true if events should be dispatched 018 */ 019 public boolean controlEventDispatcher(EventModel event); 020}