diff options
author | cbrun | 2017-05-16 14:23:48 +0000 |
---|---|---|
committer | Stéphane Bégaudeau | 2017-05-17 08:25:16 +0000 |
commit | cda352fe167cd6de2029eee5e62ae11a11d3da44 (patch) | |
tree | 37cff9a9befaa9fffb349cb99cb26a6f10174975 | |
parent | b95fe239a6d0762779e53c7cb97637a516dcb524 (diff) | |
download | org.eclipse.sirius-cda352fe167cd6de2029eee5e62ae11a11d3da44.tar.gz org.eclipse.sirius-cda352fe167cd6de2029eee5e62ae11a11d3da44.tar.xz org.eclipse.sirius-cda352fe167cd6de2029eee5e62ae11a11d3da44.zip |
[510126] declare the 'newValue' variable in the context of a TextArea
Bug: 510126
Change-Id: I74e256fc11cde819540b6eedf84acd6e6ade5dbf
Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
-rw-r--r-- | plugins/org.eclipse.sirius.properties.core/src/org/eclipse/sirius/properties/core/internal/expressions/PropertiesInterpretedExpressionQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.properties.core/src/org/eclipse/sirius/properties/core/internal/expressions/PropertiesInterpretedExpressionQuery.java b/plugins/org.eclipse.sirius.properties.core/src/org/eclipse/sirius/properties/core/internal/expressions/PropertiesInterpretedExpressionQuery.java index a934432105..7ed16b9d11 100644 --- a/plugins/org.eclipse.sirius.properties.core/src/org/eclipse/sirius/properties/core/internal/expressions/PropertiesInterpretedExpressionQuery.java +++ b/plugins/org.eclipse.sirius.properties.core/src/org/eclipse/sirius/properties/core/internal/expressions/PropertiesInterpretedExpressionQuery.java @@ -268,7 +268,7 @@ public final class PropertiesInterpretedExpressionQuery extends AbstractInterpre VariableType stringType = VariableType.fromString("java.lang.String"); //$NON-NLS-1$ VariableType booleanType = VariableType.fromString("java.lang.Boolean"); //$NON-NLS-1$ VariableType unkownType = VariableType.fromString(TypeName.EOBJECT_TYPENAME.getCompleteName()); - if (callbackFeature == PropertiesPackage.Literals.ABSTRACT_TEXT_DESCRIPTION__INITIAL_OPERATION) { + if (callbackFeature == PropertiesPackage.Literals.ABSTRACT_TEXT_DESCRIPTION__INITIAL_OPERATION || callbackFeature == PropertiesPackage.Literals.ABSTRACT_TEXT_AREA_DESCRIPTION__INITIAL_OPERATION) { availableVariables.put(EEFExpressionUtils.EEFText.NEW_VALUE, stringType); } else if (callbackFeature == PropertiesPackage.Literals.ABSTRACT_CHECKBOX_DESCRIPTION__INITIAL_OPERATION) { availableVariables.put(EEFExpressionUtils.EEFCheckbox.NEW_VALUE, booleanType); |