Issue #2976 - added SWT widget dispose check in runAsync call.

Former-commit-id: 8617d57ea899877ba3f0149059a439d5dc60c5a2
This commit is contained in:
Lee Venable 2014-04-01 11:19:41 -05:00
parent a373345f6e
commit e6c9f4870e

View file

@ -92,6 +92,7 @@ import com.raytheon.viz.ui.dialogs.ICloseCallback;
* Oct 2, 2012 #1234 rferrel Clicking on new group/point when no
* node selected will now add the new
* to the root node.
* Apr 01, 2014 #2976 lvenable Added SWT dispose checks in runAsync call.
*
* </pre>
*
@ -649,6 +650,10 @@ public class PointsMgrDialog extends CaveJFACEDialog implements
@Override
public void run() {
if (pointsTreeViewer.getTree().isDisposed()) {
return;
}
if (selectedNode == null) {
selectedNode = getSelectedPoint();
}