Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2018-11-13 13:58:22 -0500
committerDonald Dunne2018-11-13 15:25:20 -0500
commite57b9ccb25fe1ceef96e7c73c136aa7e9c6278c4 (patch)
tree145c4c230d6bb7ce2614009f334e301b249aa5ec
parentfc05ccfc81d75d1b93d758687f5cb4e1da8bf77e (diff)
downloadorg.eclipse.osee-e57b9ccb25fe1ceef96e7c73c136aa7e9c6278c4.tar.gz
org.eclipse.osee-e57b9ccb25fe1ceef96e7c73c136aa7e9c6278c4.tar.xz
org.eclipse.osee-e57b9ccb25fe1ceef96e7c73c136aa7e9c6278c4.zip
bug: Handle widget disposed in AttributesComposite
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/AttributesComposite.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/AttributesComposite.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/AttributesComposite.java
index aba544185b..89ed591764 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/AttributesComposite.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/AttributesComposite.java
@@ -44,6 +44,7 @@ import org.eclipse.osee.framework.ui.skynet.widgets.cellEditor.UniversalCellEdit
import org.eclipse.osee.framework.ui.skynet.widgets.dialog.FilteredCheckboxAttributeTypeDialog;
import org.eclipse.osee.framework.ui.swt.Displays;
import org.eclipse.osee.framework.ui.swt.IDirtiableEditor;
+import org.eclipse.osee.framework.ui.swt.Widgets;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.events.MenuEvent;
@@ -203,7 +204,9 @@ public class AttributesComposite extends Composite implements IArtifactEventList
@Override
public void run() {
- tableViewer.setInput(artifact);
+ if (tableViewer != null && Widgets.isAccessible(tableViewer.getTable())) {
+ tableViewer.setInput(artifact);
+ }
}
});
}

Back to the top