Interface ConstraintSplitWriter.IConstraintFilter
- All Known Implementing Classes:
ConstraintSplitWriter.IdentityConstraintFilter
- Enclosing class:
ConstraintSplitWriter
public static interface ConstraintSplitWriter.IConstraintFilter
Identifies the constraint where to split at.
- Author:
- Holger Eichelberger
-
Method Summary
Modifier and TypeMethodDescriptionbooleansplitAt(IModelElement context, ConstraintSyntaxTree constraint) Returns whether the split shall happen atconstraint.
-
Method Details
-
splitAt
Returns whether the split shall happen atconstraint. Please note that the first time this function returnstruewill cause the split. Furthertrueas return value will be ignored.- Parameters:
context- the directly containing / using model elementconstraint- the constraint to check- Returns:
trueif the split shall happen atconstraint,falseelse
-