org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.filter
Class FilterStack
java.lang.Object
org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.filter.FilterStack
- All Implemented Interfaces:
- ESNotificationFilter
public final class FilterStack
- extends Object
- implements ESNotificationFilter
This class filters a notification recording according to predefined stacks of
filters. Available stacks are created as static properties for easy
reference.
- Author:
- chodnick
DEFAULT
public static final ESNotificationFilter DEFAULT
- The default filter stack.
FilterStack
public FilterStack(ESNotificationFilter[] filters)
- Constructor.
- Parameters:
filters
- the filter the filter stack should consists of.
check
public boolean check(ESNotificationInfo notificationInfo,
ESObjectContainer<?> container)
- Check whether a notification should be ignored.
- Specified by:
check
in interface ESNotificationFilter
- Parameters:
notificationInfo
- the ESNotificationInfo
to be checkedcontainer
- the container that holds or did hold the model element the notification
is about
- Returns:
true
if the notification is to be ignored- See Also:
ESNotificationFilter.check(org.eclipse.emf.emfstore.common.model.util.ESNotificationInfo,
org.eclipse.emf.emfstore.common.model.ESObjectContainer)
Copyright © 2015. All Rights Reserved.