public final class EClassFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
static EClassFilter |
INSTANCE
Singleton.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFilterLabel()
Returns the label that is used to group filtered types or operations that involve
only such types.
|
boolean |
involvesOnlyFilteredEClasses(ModelElementIdToEObjectMapping idToEObjectMapping,
AbstractOperation operation)
Whether the given operation only involves types that are considered to be filtered.
|
boolean |
isEnabled()
Whether any
EClass has been marked as filtered at all. |
boolean |
isFiltered(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EStructuralFeature feature)
Whether the given
EClass is considered filtered taking the changed feature into account. |
boolean |
isFilteredEClass(org.eclipse.emf.ecore.EClass eClass)
Whether the given
EClass is considered as filtered. |
public static final EClassFilter INSTANCE
public boolean isEnabled()
EClass has been marked as filtered at all.EClass should be filteredpublic boolean isFilteredEClass(org.eclipse.emf.ecore.EClass eClass)
EClass is considered as filtered.eClass - the class to checkEClass is considered as filteredpublic boolean isFiltered(org.eclipse.emf.ecore.EClass eClass,
org.eclipse.emf.ecore.EStructuralFeature feature)
EClass is considered filtered taking the changed feature into account.eClass - the EClass to check.feature - the changed featuretrue of the EClass is considered as filtered, false otherwisepublic boolean involvesOnlyFilteredEClasses(ModelElementIdToEObjectMapping idToEObjectMapping, AbstractOperation operation)
idToEObjectMapping - a mapping that is used to resolve the EObjects
contained in the operationoperation - the operations to checkpublic String getFilterLabel()
Copyright © 2017. All rights reserved.