Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Charles David2016-10-07 07:50:43 +0000
committerPierre-Charles David2016-10-07 07:51:06 +0000
commita018f4ca7b6bb2135b1a0e4528ecd160664cc879 (patch)
tree8736e6a3be56781ac28a920f3490cc9329effea7
parentc11d7105cb7277b863ed6dd7c077d7574d656a77 (diff)
downloadorg.eclipse.sirius-a018f4ca7b6bb2135b1a0e4528ecd160664cc879.tar.gz
org.eclipse.sirius-a018f4ca7b6bb2135b1a0e4528ecd160664cc879.tar.xz
org.eclipse.sirius-a018f4ca7b6bb2135b1a0e4528ecd160664cc879.zip
[496014] Add completion for 'value' variable on lists
Bug: 496014 Change-Id: I8fe839f72966b70dcfe603ed2ff56cad32679589 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.java3
1 files changed, 3 insertions, 0 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 83e21db001..bffe71e71c 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
@@ -190,6 +190,9 @@ public final class PropertiesInterpretedExpressionQuery extends AbstractInterpre
} else if (feature == PropertiesPackage.Literals.LABEL_DESCRIPTION__DISPLAY_EXPRESSION) {
VariableType candidatesExpressionType = getResultType(target, PropertiesPackage.Literals.LABEL_DESCRIPTION__VALUE_EXPRESSION);
availableVariables.put(EEFExpressionUtils.EEFReference.VALUE, candidatesExpressionType);
+ } else if (feature == PropertiesPackage.Literals.LIST_DESCRIPTION__DISPLAY_EXPRESSION) {
+ VariableType candidatesExpressionType = getResultType(target, PropertiesPackage.Literals.LIST_DESCRIPTION__VALUE_EXPRESSION);
+ availableVariables.put(EEFExpressionUtils.EEFList.VALUE, candidatesExpressionType);
} else if (feature == PropertiesPackage.Literals.HYPERLINK_DESCRIPTION__DISPLAY_EXPRESSION) {
VariableType candidatesExpressionType = getResultType(target, PropertiesPackage.Literals.HYPERLINK_DESCRIPTION__VALUE_EXPRESSION);
availableVariables.put(EEFExpressionUtils.EEFReference.VALUE, candidatesExpressionType);

Back to the top