diff options
author | Vincent Lorenzo | 2014-03-12 12:40:29 +0000 |
---|---|---|
committer | Vincent Lorenzo | 2014-03-12 12:40:29 +0000 |
commit | f8837437ddc050dd5bde571ddfaa189ba90ffccf (patch) | |
tree | ff5934c0a337f16a8bcdfb079c45675be73075ae | |
parent | ddb195962ee95a35451aeab77264639aef586085 (diff) | |
download | org.eclipse.papyrus-f8837437ddc050dd5bde571ddfaa189ba90ffccf.tar.gz org.eclipse.papyrus-f8837437ddc050dd5bde571ddfaa189ba90ffccf.tar.xz org.eclipse.papyrus-f8837437ddc050dd5bde571ddfaa189ba90ffccf.zip |
429965: [Table 2] Table selection should not be discarded any time a
modification occurs in the model
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429965
-rw-r--r-- | extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java b/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java index 98d45525bbe..aca2bbc28e4 100644 --- a/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/NattableModelManager.java +++ b/extraplugins/table/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());
}
}
});
|