Interface EventFilter
-
- All Known Implementing Classes:
ActionClassEventFilter
,AllEventsFilter
,CombiningEventFilter
,EventTypeFilter
,ExtensionEventFilter
,ExtensionPointEventFilter
public interface EventFilter
A filter for events before they are sent to anEventHandler
.- Version:
- 2.8
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:08:14 +0200 (to, 11 sep 2008) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldSend(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension)
Determine if the event should be sent to the event handler or not.
-
-
-
Method Detail
-
shouldSend
boolean shouldSend(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension)
Determine if the event should be sent to the event handler or not.- Parameters:
event
- The event that happendextensionPoint
- The extension point that the extension extends, or that the event happened toextension
- The extension the event happend to, or null if the event happended to the extension point- Returns:
- TRUE to send the event to the event handler, or FALSE otherwise
-
-