public class EventTypeFilter extends AbstractEventFilter
event type. The constants are
defined in Notifier.| Constructor and Description |
|---|
EventTypeFilter(int eventType,
boolean negated)
Creates a new
EventTypeFilter with the given filter type. |
| Modifier and Type | Method and Description |
|---|---|
EventTypeFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
getEventType()
Gives the event type of this filter object
|
java.lang.Object |
getFilterCriterion()
Returns the unique property for an
AbstractEventFilter object |
int |
hashCode() |
boolean |
matchesFor(org.eclipse.emf.common.notify.Notification event)
Tests if the incoming
Notification matches the intern specification |
java.lang.String |
toString() |
expandNewAndOldValueCollections, isNegated, setNegatedpublic EventTypeFilter(int eventType,
boolean negated)
EventTypeFilter with the given filter type.
For the different types NotifiereventType - negated - defines whether the filter is negatedpublic boolean equals(java.lang.Object obj)
equals in class AbstractEventFilterpublic int getEventType()
public int hashCode()
hashCode in class AbstractEventFilterpublic boolean matchesFor(org.eclipse.emf.common.notify.Notification event)
EventFilterNotification matches the intern specificationevent - the Notification to controlNotification matches the intern specificationpublic java.lang.String toString()
toString in class java.lang.Objectpublic EventTypeFilter clone()
clone in interface EventFilterclone in class AbstractEventFilterpublic java.lang.Object getFilterCriterion()
AbstractEventFilterAbstractEventFilter objectgetFilterCriterion in interface EventFiltergetFilterCriterion in class AbstractEventFilter