diff options
author | Vincent Lorenzo | 2015-11-12 14:32:30 +0000 |
---|---|---|
committer | Vincent Lorenzo | 2015-11-12 14:32:30 +0000 |
commit | 9bb9a0da915be2edadcf013932061b8b04a54378 (patch) | |
tree | 3c6ab63b0330867635fd7c337d49b3df476942a0 | |
parent | afed2d098cba3b0af2f3047a2baf4505118fbc8b (diff) | |
download | org.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-x | plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/manager/table/AbstractNattableWidgetManager.java | 4 |
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() { |