Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2016-05-18 00:06:59 +0000
committerChristian W. Damus2016-05-18 16:59:38 +0000
commit444a01ae0e79b3dd4cbee4ed7661f35b277c3222 (patch)
tree46f4601e9a5f9770f17d68d7385babf4ebf1cdf5 /plugins/uml
parent65899f3420d471eb0780043eafeb206b58dcec58 (diff)
downloadorg.eclipse.papyrus-444a01ae0e79b3dd4cbee4ed7661f35b277c3222.tar.gz
org.eclipse.papyrus-444a01ae0e79b3dd4cbee4ed7661f35b277c3222.tar.xz
org.eclipse.papyrus-444a01ae0e79b3dd4cbee4ed7661f35b277c3222.zip
Bug 493853: [Properties] NattablePropertyEditor illegally modifies its configuration model
https://bugs.eclipse.org/bugs/show_bug.cgi?id=493853 Simply don't attempt to change the axis configuration in the table configuration. There is no point anyways, because once the table instance has been created and saved, we will never create it again and so in subsequent sessions we wouldn't be poking the table configuration again. Besides that the table configuration is a read-only model deployed in a plug-in bundle. Change-Id: If06162c928248ec4b9fabf30144c0449c6885bae
Diffstat (limited to 'plugins/uml')
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/NattablePropertyEditor.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/NattablePropertyEditor.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/NattablePropertyEditor.java
index 1e3f1d645fa..fce99cd07dc 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/NattablePropertyEditor.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/NattablePropertyEditor.java
@@ -8,7 +8,7 @@
*
* Contributors:
* Nicolas FAUVERGUE (ALL4TEC) nicolas.fauvergue@all4tec.net - Initial API and implementation
- * Christian W. Damus - bug 493858
+ * Christian W. Damus - bugs 493858, 493853
*
*****************************************************************************/
package org.eclipse.papyrus.uml.properties.widgets;
@@ -831,14 +831,6 @@ public class NattablePropertyEditor extends AbstractPropertyEditor {
columnProvider = EcoreUtil.copy(columnProvider);
}
- if (null != synchronizedFeature) {
- TableHeaderAxisConfiguration rowHeaderAxisconfig = tableConfiguration.getRowHeaderAxisConfiguration();
- for (IAxisConfiguration axisConfig : rowHeaderAxisconfig.getOwnedAxisConfigurations()) {
- if (axisConfig instanceof EStructuralFeatureValueFillingConfiguration) {
- ((EStructuralFeatureValueFillingConfiguration) axisConfig).setListenFeature(synchronizedFeature);
- }
- }
- }
table.getColumnAxisProvidersHistory().add(columnProvider);
table.setCurrentColumnAxisProvider(columnProvider);
table.getRowAxisProvidersHistory().add(rowProvider);

Back to the top