Class ConditionEvaluationUtil
- java.lang.Object
-
- org.eclipse.emf.ecp.view.spi.rule.model.util.ConditionEvaluationUtil
-
public final class ConditionEvaluationUtil extends java.lang.Object
Util class for evaluating conditions.- Since:
- 1.5
- Author:
- jfaltermeier
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isLeafConditionForSetting(LeafCondition condition, org.eclipse.emf.ecore.EObject domainModel, java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,java.lang.Object> possibleNewValues)
Whether the leaf condition evaluates objects of the given possible new values.
-
-
-
Method Detail
-
isLeafConditionForSetting
public static boolean isLeafConditionForSetting(LeafCondition condition, org.eclipse.emf.ecore.EObject domainModel, java.util.Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,java.lang.Object> possibleNewValues)
Whether the leaf condition evaluates objects of the given possible new values.- Parameters:
condition
- the conditiondomainModel
- The root domain object of the givenLeafCondition
possibleNewValues
- the new value map- Returns:
true
if setting part of condition,false
otherwise- Since:
- 1.9
-
-