org.eclipse.emf.ecp.view.spi.rule.model.util
Class ConditionEvaluationUtil
java.lang.Object
org.eclipse.emf.ecp.view.spi.rule.model.util.ConditionEvaluationUtil
public final class ConditionEvaluationUtil
- extends Object
Util class for evaluating conditions.
- Since:
- 1.5
- Author:
- jfaltermeier
Method Summary |
static boolean |
isLeafConditionForSetting(LeafCondition condition,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
Whether the leaf condition evaluates objects of the given possible new values. |
isLeafConditionForSetting
public static boolean isLeafConditionForSetting(LeafCondition condition,
Map<org.eclipse.emf.ecore.EStructuralFeature.Setting,Object> possibleNewValues)
- Whether the leaf condition evaluates objects of the given possible new values.
- Parameters:
condition
- the conditionpossibleNewValues
- the new value map
- Returns:
true
if setting part of condition, false
otherwise
Copyright © 2015. All Rights Reserved.