Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2014-03-12 14:11:19 +0000
committerVincent Lorenzo2014-03-12 14:11:19 +0000
commit2971aa73c48a50f34f52d64e92298e9b5f591172 (patch)
treee1380c2b5ada493e3415629228280dc0a8edb021 /plugins/infra
parent29da92df7544fbe553b4b5511daab07e3f2c65b3 (diff)
downloadorg.eclipse.papyrus-2971aa73c48a50f34f52d64e92298e9b5f591172.tar.gz
org.eclipse.papyrus-2971aa73c48a50f34f52d64e92298e9b5f591172.tar.xz
org.eclipse.papyrus-2971aa73c48a50f34f52d64e92298e9b5f591172.zip
429965: [Table 2] Table selection should not be discarded any time a modification occurs in the model
Diffstat (limited to 'plugins/infra')
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java
index 98d45525bbe..aca2bbc28e4 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java
@@ -47,6 +47,7 @@ import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ViewerComparator;
import org.eclipse.jface.window.Window;
import org.eclipse.nebula.widgets.nattable.NatTable;
+import org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommand;
import org.eclipse.nebula.widgets.nattable.data.IDataProvider;
import org.eclipse.nebula.widgets.nattable.style.DisplayMode;
import org.eclipse.nebula.widgets.nattable.ui.NatEventData;
@@ -267,7 +268,7 @@ public class NattableModelManager extends AbstractNattableWidgetManager implemen
public void run() {
if(nattable != null && !nattable.isDisposed() && nattable.isVisible()) {
- nattable.refresh();
+ nattable.doCommand(new VisualRefreshCommand());
}
}
});

Back to the top