Interface EventFilter
- All Known Implementing Classes:
ActionClassEventFilter
,AllEventsFilter
,CombiningEventFilter
,EventTypeFilter
,ExtensionEventFilter
,ExtensionPointEventFilter
public interface EventFilter
A filter for events before they are sent to an
EventHandler
.- Version:
- 2.8
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:08:14 +0200 (to, 11 sep 2008) $
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldSend
(EventType event, ExtensionPoint<?> extensionPoint, Extension<?> extension) Determine if the event should be sent to the event handler or not.
-
Method Details
-
shouldSend
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
-