Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2015-11-12 09:32:30 -0500
committerVincent Lorenzo2015-11-12 09:32:30 -0500
commit9bb9a0da915be2edadcf013932061b8b04a54378 (patch)
tree3c6ab63b0330867635fd7c337d49b3df476942a0
parentafed2d098cba3b0af2f3047a2baf4505118fbc8b (diff)
downloadorg.eclipse.papyrus-9bb9a0da915be2edadcf013932061b8b04a54378.tar.gz
org.eclipse.papyrus-9bb9a0da915be2edadcf013932061b8b04a54378.tar.xz
org.eclipse.papyrus-9bb9a0da915be2edadcf013932061b8b04a54378.zip
bug 481017: [Table] Action Reload Table Editor breaks the table editor - a second commit for the fix
-rwxr-xr-xplugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/AbstractNattableWidgetManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/AbstractNattableWidgetManager.java b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/AbstractNattableWidgetManager.java
index 700623d1ac9..15f3c59cf31 100755
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/AbstractNattableWidgetManager.java
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/AbstractNattableWidgetManager.java
@@ -1174,7 +1174,9 @@ public abstract class AbstractNattableWidgetManager implements INattableModelMan
this.tableEditingDomain = null;
this.contextEditingDomain = null;
this.tableContext = null;
- this.natTable.dispose();
+ if(this.natTable!=null){
+ this.natTable.dispose();
+ }
}
public EObject getTableContext() {

Back to the top