org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.filter
Class IgnoreOutsideProjectReferencesFilter

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.filter.IgnoreOutsideProjectReferencesFilter
All Implemented Interfaces:
ESNotificationFilter

public class IgnoreOutsideProjectReferencesFilter
extends Object
implements ESNotificationFilter

Filter to ignore Reference Notifications to Elements outside of the project.

Author:
koegel

Constructor Summary
IgnoreOutsideProjectReferencesFilter()
           
 
Method Summary
 boolean check(ESNotificationInfo notificationInfo, ESObjectContainer<?> container)
          Check whether a notification should be ignored.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreOutsideProjectReferencesFilter

public IgnoreOutsideProjectReferencesFilter()
Method Detail

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 checked
container - 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.