Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2021-07-21 12:47:49 +0000
committerptessier2021-07-21 12:47:49 +0000
commitafc53b5553475ad1588965bc47ed204717d3c604 (patch)
treed1189b660888138390c900bbdcbf9fc890b13a20
parent5286066e30f28605aabbb8bd71066df176022217 (diff)
downloadorg.eclipse.papyrus-afc53b5553475ad1588965bc47ed204717d3c604.tar.gz
org.eclipse.papyrus-afc53b5553475ad1588965bc47ed204717d3c604.tar.xz
org.eclipse.papyrus-afc53b5553475ad1588965bc47ed204717d3c604.zip
Bug 574687 - [Properties] The content of a widget is not refresh in some
cases Change-Id: Ib488314fce39b7ec7c6767e215c6b2407f1a0d3b Signed-off-by: ptessier <patrick.tessier@cea.fr>
-rw-r--r--plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/runtime/DefaultDisplayEngine.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/runtime/DefaultDisplayEngine.java b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/runtime/DefaultDisplayEngine.java
index 6fa15c6cbc8..18719b9adfd 100644
--- a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/runtime/DefaultDisplayEngine.java
+++ b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/runtime/DefaultDisplayEngine.java
@@ -330,6 +330,12 @@ public class DefaultDisplayEngine implements DisplayEngine {
}
// in other case, only refresh is needed.
+ } else {
+ // the constraint evaluation has not be created
+ // the section has to be created
+ // for example the selection has changed
+ storeConstraintevalutionForSource(section, source);
+ disposeAndCreateControl(parent, section, source);
}
}
}

Back to the top