Issue #2951 - added dispose checks for runAsync calls.
Former-commit-id:4afcc659a2
[formerlyf5c4414c72
] [formerly4afcc659a2
[formerlyf5c4414c72
] [formerlyc2d52987f8
[formerly c4e17780f5a3dc342b856f83a4144ff3778c4001]]] Former-commit-id:c2d52987f8
Former-commit-id:2575b680d1
[formerlyd0ec74f4b7
] Former-commit-id:464ae77609
This commit is contained in:
parent
d207333ed5
commit
edcb08e4fe
3 changed files with 23 additions and 0 deletions
|
@ -105,6 +105,7 @@ import com.raytheon.uf.viz.datadelivery.utils.DataDeliveryUtils;
|
||||||
* Dec 17, 2013 2633 mpduff Fix redraw problems..
|
* Dec 17, 2013 2633 mpduff Fix redraw problems..
|
||||||
* Jan 09, 2014 2633 mpduff On resize keep graph at bottom so data are always visible.
|
* Jan 09, 2014 2633 mpduff On resize keep graph at bottom so data are always visible.
|
||||||
* Jan 29, 2014 2722 mpduff Changed how graph data are requested.
|
* Jan 29, 2014 2722 mpduff Changed how graph data are requested.
|
||||||
|
* Mar 24, 2014 #2951 lvenable Added dispose checks for SWT widgets.
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author lvenable
|
* @author lvenable
|
||||||
|
@ -1512,6 +1513,9 @@ public class BandwidthCanvasComp extends Composite implements IDialogClosed,
|
||||||
VizApp.runAsync(new Runnable() {
|
VizApp.runAsync(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
imageMgr.setCurrentTimeMillis(currentTime
|
imageMgr.setCurrentTimeMillis(currentTime
|
||||||
.getTimeInMillis());
|
.getTimeInMillis());
|
||||||
redrawImage(CanvasImages.GRAPH);
|
redrawImage(CanvasImages.GRAPH);
|
||||||
|
@ -1560,6 +1564,9 @@ public class BandwidthCanvasComp extends Composite implements IDialogClosed,
|
||||||
VizApp.runAsync(new Runnable() {
|
VizApp.runAsync(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
setGraphData(graphDataUtil.getGraphData());
|
setGraphData(graphDataUtil.getGraphData());
|
||||||
updateCanvasSettings();
|
updateCanvasSettings();
|
||||||
updateCanvases();
|
updateCanvases();
|
||||||
|
|
|
@ -155,6 +155,7 @@ import com.raytheon.viz.ui.presenter.IDisplay;
|
||||||
* Feb 04, 2014 2722 mpduff Add auto-refresh task.
|
* Feb 04, 2014 2722 mpduff Add auto-refresh task.
|
||||||
* Feb 14, 2014 2806 mpduff Disable activate/deactivate buttons when viewing other site's subscriptions
|
* Feb 14, 2014 2806 mpduff Disable activate/deactivate buttons when viewing other site's subscriptions
|
||||||
* Feb 11, 2014 2771 bgonzale Use Data Delivery ID instead of Site.
|
* Feb 11, 2014 2771 bgonzale Use Data Delivery ID instead of Site.
|
||||||
|
* Mar 24, 2014 #2951 lvenable Added dispose checks for SWT widgets.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -1050,6 +1051,9 @@ public class SubscriptionManagerDlg extends CaveSWTDialog implements
|
||||||
VizApp.runAsync(new Runnable() {
|
VizApp.runAsync(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
handleRefresh();
|
handleRefresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1549,6 +1553,9 @@ public class SubscriptionManagerDlg extends CaveSWTDialog implements
|
||||||
VizApp.runAsync(new Runnable() {
|
VizApp.runAsync(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
handleRefresh();
|
handleRefresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -112,6 +112,8 @@ import com.raytheon.uf.viz.datadelivery.utils.DataDeliveryUtils.TABLE_TYPE;
|
||||||
* Jan 08, 2014 2642 mpduff Enable/disable menus based on site, allow user to add their site to a shared sub.
|
* Jan 08, 2014 2642 mpduff Enable/disable menus based on site, allow user to add their site to a shared sub.
|
||||||
* Feb 04, 2014 2722 mpduff Add last update time.
|
* Feb 04, 2014 2722 mpduff Add last update time.
|
||||||
* Feb 11, 2014 2771 bgonzale Use Data Delivery ID instead of Site.
|
* Feb 11, 2014 2771 bgonzale Use Data Delivery ID instead of Site.
|
||||||
|
* Mar 24, 2014 #2951 lvenable Added dispose checks for SWT widgets.
|
||||||
|
*
|
||||||
* @version 1.0
|
* @version 1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -413,6 +415,10 @@ public class SubscriptionTableComp extends TableComp implements IGroupAction {
|
||||||
VizApp.runAsync(new Runnable() {
|
VizApp.runAsync(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
updateTable(subList);
|
updateTable(subList);
|
||||||
subActionCallback.updateControls();
|
subActionCallback.updateControls();
|
||||||
}
|
}
|
||||||
|
@ -885,6 +891,9 @@ public class SubscriptionTableComp extends TableComp implements IGroupAction {
|
||||||
VizApp.runAsync(new Runnable() {
|
VizApp.runAsync(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (isDisposed()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
populateTable();
|
populateTable();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue