diff options
| author | Pierre-Charles David | 2016-08-25 11:50:50 +0000 |
|---|---|---|
| committer | Pierre-Charles David | 2016-08-26 12:18:35 +0000 |
| commit | 093cc6c77932558e6642db05d221f8ff9de3c644 (patch) | |
| tree | 8cc1ebdfa16d8fbe5b930777803771de2fb8fe57 | |
| parent | 43c3706635f9f396a881650d94c01589782149d8 (diff) | |
| download | org.eclipse.sirius-093cc6c77932558e6642db05d221f8ff9de3c644.tar.gz org.eclipse.sirius-093cc6c77932558e6642db05d221f8ff9de3c644.tar.xz org.eclipse.sirius-093cc6c77932558e6642db05d221f8ff9de3c644.zip | |
[496014] Fix variable validation for ReferenceDescription#valueExpression
Bug: 496014
Change-Id: Ifb3c34fe05cc73852c0498bc40c54c8bbd6b1eb9
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
| -rw-r--r-- | plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/expressions/PropertiesInterpretedExpressionQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/expressions/PropertiesInterpretedExpressionQuery.java b/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/expressions/PropertiesInterpretedExpressionQuery.java index e20f75e349..c3983eb4ba 100644 --- a/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/expressions/PropertiesInterpretedExpressionQuery.java +++ b/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/expressions/PropertiesInterpretedExpressionQuery.java @@ -189,7 +189,7 @@ public final class PropertiesInterpretedExpressionQuery extends AbstractInterpre availableVariables.put(EEFExpressionUtils.EEFSelect.CANDIDATE, candidatesExpressionType); } else if (feature == PropertiesPackage.Literals.REFERENCE_DESCRIPTION__DISPLAY_EXPRESSION) { VariableType valueExpressionType = getResultType(target, PropertiesPackage.Literals.REFERENCE_DESCRIPTION__VALUE_EXPRESSION); - availableVariables.put(EEFExpressionUtils.EEFSelect.CANDIDATE, valueExpressionType); + availableVariables.put(EEFExpressionUtils.EEFReference.VALUE, valueExpressionType); } else if (feature == PropertiesPackage.Literals.DYNAMIC_MAPPING_IF__PREDICATE_EXPRESSION) { if (target.eContainer() instanceof DynamicMappingFor) { DynamicMappingFor forDefinition = (DynamicMappingFor) target.eContainer(); |
