public class TableForClassFilter extends TableForEventFilter
ClassFilter
.TableForEventFilter
filterCriteriaByRegistration, tableEntryByFilterCriterion
Constructor and Description |
---|
TableForClassFilter(int numberOfFilterTables) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
criterionToString(java.lang.Object criterion) |
java.lang.Object |
getAffectedObject(org.eclipse.emf.common.notify.Notification event)
This method encapsulates the knowledge which information that is
contained by the passed event is of interest in the context of the
current EventFilterTable.
|
java.lang.Class<ClassFilter> |
getIdentifier()
Each type of
TableForEventFilter is directly associated to a
filter type, but some MoinEventFilters support additional
modifiers that affect the filtering ( for example the
includeCompositions flag on InstanceFilterTable
or the includeSubclasses flag on ClassFilter ). |
getCompleteNoBag, isEmpty, toString
public java.lang.Object getAffectedObject(org.eclipse.emf.common.notify.Notification event)
TableForEventFilter
getAffectedObject
in class TableForEventFilter
MRI
of the meta object of the affected element(s). If the passed event is not of type
ModelChangeEvent
, null
is returned.public java.lang.Class<ClassFilter> getIdentifier()
TableForEventFilter
TableForEventFilter
is directly associated to a
filter type, but some MoinEventFilters
support additional
modifiers that affect the filtering ( for example the
includeCompositions
flag on InstanceFilterTable
or the includeSubclasses
flag on ClassFilter
).
In those cases, there will be more than one instance of the
EventFilterTable and in order to be able to determine the right instance
for a given MoinEventFilter
, both, the
MoinEventFilter
and the EventFilterTable
must
implement a getIdentifier()
method. The default
implementation simply returns its Class
, but filters and their
tables which support modifying flags return a List
containing the
Class
and all modifiers.getIdentifier
in class TableForEventFilter
protected java.lang.String criterionToString(java.lang.Object criterion)
criterionToString
in class TableForEventFilter