Merge "Issue #3060 safety checks for SWT widgets being disposed" into development
Former-commit-id:1067e4b09c
[formerlyc193eac6e8
[formerly 0f33d8dfe65574db7cfbf37f7fc34393707538d3]] Former-commit-id:c193eac6e8
Former-commit-id:547bcafdb6
This commit is contained in:
commit
4232c6b1b2
1 changed files with 8 additions and 4 deletions
|
@ -51,7 +51,8 @@ import com.raytheon.viz.ui.panes.VizDisplayPane;
|
|||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jun 7, 2012 mschenke Initial creation
|
||||
* Jun 07, 2012 mschenke Initial creation
|
||||
* Apr 23, 2014 3060 njensen Safety checks for SWT widgets disposed
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -179,11 +180,14 @@ public class CollaborationPaneManager extends PaneManager {
|
|||
setExclude(activeData, true);
|
||||
activeData = null;
|
||||
}
|
||||
noDisplayLabel.setVisible(true);
|
||||
((GridData) noDisplayLabel.getLayoutData()).exclude = false;
|
||||
composite.layout();
|
||||
if (!noDisplayLabel.isDisposed() && !composite.isDisposed()) {
|
||||
noDisplayLabel.setVisible(true);
|
||||
((GridData) noDisplayLabel.getLayoutData()).exclude = false;
|
||||
composite.layout();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void adjustPaneLayout(int paneCount) {
|
||||
;// don't do anything, we always want one pane displayed.
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue