Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpotterc0k2013-07-02 13:34:59 -0400
committerGerrit Code Review @ Eclipse.org2013-07-09 15:31:31 -0400
commitb336e949f17dcc41928c8da373c00b857871c04c (patch)
tree73a0dbc77a7a26ede4f842050e0c24096f8f37ba
parent643dafab728a0748c6d2fe4a0039e69c1a8877f4 (diff)
downloadorg.eclipse.osee-b336e949f17dcc41928c8da373c00b857871c04c.tar.gz
org.eclipse.osee-b336e949f17dcc41928c8da373c00b857871c04c.tar.xz
org.eclipse.osee-b336e949f17dcc41928c8da373c00b857871c04c.zip
bug[ats_62WLB]: SMAEditorOutline needs to check for valid widget in setInput
Change-Id: I4ce5163b2f62b8b4b2cff36cfc164353d8aeaacb Signed-off-by: mpotterc0k <marc.a.potter@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorOutlinePage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorOutlinePage.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorOutlinePage.java
index 421c7ced8b..983274aa6b 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorOutlinePage.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAEditorOutlinePage.java
@@ -90,7 +90,7 @@ public class SMAEditorOutlinePage extends ContentOutlinePage {
if (input instanceof SMAEditor) {
this.editor = (SMAEditor) input;
if (getTreeViewer() != null) {
- if (editor != null) {
+ if (editor != null && getTreeViewer() != null && Widgets.isAccessible(getTreeViewer().getTree())) {
getTreeViewer().setInput(editor);
IAtsStateDefinition stateDef =
WorkflowManager.getCurrentAtsWorkPage((editor).getAwa()).getStateDefinition();

Back to the top