Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2014-06-02 19:41:39 +0000
committerChristian W. Damus2014-06-02 19:41:50 +0000
commit7ec45c332917dd5bbfbe537a166474b921d48c69 (patch)
treeb4c30d5ccbdf272769e14a0118a9e3f3b494fbc5 /plugins/infra/viewpoints
parentb700c3e50de3db7d010921a8713efee73e8c2166 (diff)
downloadorg.eclipse.papyrus-7ec45c332917dd5bbfbe537a166474b921d48c69.tar.gz
org.eclipse.papyrus-7ec45c332917dd5bbfbe537a166474b921d48c69.tar.xz
org.eclipse.papyrus-7ec45c332917dd5bbfbe537a166474b921d48c69.zip
417409: [Performances - Properties view] Delay in UI when reorganizing diagram layout.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417409 Ensure that when the user reconfigures the property sheet, the cache of XML UI definitions is purged so that any changes in presentation of the properties may be implemented.
Diffstat (limited to 'plugins/infra/viewpoints')
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java15
1 files changed, 13 insertions, 2 deletions
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java
index 0f589bde14e..eb4675dba26 100644
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java
+++ b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.policy/src/org/eclipse/papyrus/infra/viewpoints/policy/ModelRuleConstraintEngine.java
@@ -1,6 +1,16 @@
-/**
+/*****************************************************************************
+ * Copyright (c) 2014 CEA LIST and others.
*
- */
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA LIST - Initial API and implementation
+ * Christian W. Damus (CEA) - bug 417409
+ *
+ *****************************************************************************/
package org.eclipse.papyrus.infra.viewpoints.policy;
import java.util.ArrayList;
@@ -36,6 +46,7 @@ public class ModelRuleConstraintEngine extends DefaultConstraintEngine<ModelRule
*/
public void refresh() {
modelRule2Constraints.clear();
+ fireConstraintsChanged();
}
public boolean matchesRule(ModelRule rule, EObject element) {

Back to the top