Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2013-05-31 10:07:29 -0400
committercletavernie2013-05-31 10:07:29 -0400
commit23a75b0aeb2e82056b55cc54cae944898b58bfa1 (patch)
tree7bc38f9751db90420ccd45ce0a2d929fc7690094 /plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src
parent2142bdacab1d3a63f584e9b3ae0869653bc3988d (diff)
downloadorg.eclipse.papyrus-23a75b0aeb2e82056b55cc54cae944898b58bfa1.tar.gz
org.eclipse.papyrus-23a75b0aeb2e82056b55cc54cae944898b58bfa1.tar.xz
org.eclipse.papyrus-23a75b0aeb2e82056b55cc54cae944898b58bfa1.zip
409472: Severe performance bottleneck while creating activity diagram from "imported" model.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=409472
Diffstat (limited to 'plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src')
-rw-r--r--plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/AbstractStyleHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/AbstractStyleHandler.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/AbstractStyleHandler.java
index 436380c2d5f..20630eb8add 100644
--- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/AbstractStyleHandler.java
+++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.configuration/src/org/eclipse/papyrus/infra/gmfdiag/css/configuration/handler/AbstractStyleHandler.java
@@ -166,6 +166,7 @@ public abstract class AbstractStyleHandler extends AbstractHandler {
try {
resource.save(new HashMap<Object, Object>());
BaseCSSEngine.instance.reset();
+ DiagramHelper.setNeedsRefresh();
DiagramHelper.refreshDiagrams();
} catch (IOException ex) {
Activator.log.error(ex);

Back to the top