Issue #2951 - added dispose checks for runAsync calls.
Former-commit-id:0198c5ff1e
[formerly4afcc659a2
] [formerlyf5c4414c72
] [formerly0198c5ff1e
[formerly4afcc659a2
] [formerlyf5c4414c72
] [formerlyc2d52987f8
[formerlyf5c4414c72
[formerly c4e17780f5a3dc342b856f83a4144ff3778c4001]]]] Former-commit-id:c2d52987f8
Former-commit-id:b230e78880
[formerly2575b680d1
] [formerly de469ece47bd6a50ae9f194c5d5c29cdb7e661df [formerlyd0ec74f4b7
]] Former-commit-id: ab6d5df188fcb6a58d51b75c086c49ce9d5f2aab [formerly464ae77609
] Former-commit-id:edcb08e4fe
This commit is contained in:
parent
ffd0b3727f
commit
908e23a804
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..
|
||||
* 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.
|
||||
* Mar 24, 2014 #2951 lvenable Added dispose checks for SWT widgets.
|
||||
* </pre>
|
||||
*
|
||||
* @author lvenable
|
||||
|
@ -1512,6 +1513,9 @@ public class BandwidthCanvasComp extends Composite implements IDialogClosed,
|
|||
VizApp.runAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
imageMgr.setCurrentTimeMillis(currentTime
|
||||
.getTimeInMillis());
|
||||
redrawImage(CanvasImages.GRAPH);
|
||||
|
@ -1560,6 +1564,9 @@ public class BandwidthCanvasComp extends Composite implements IDialogClosed,
|
|||
VizApp.runAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
setGraphData(graphDataUtil.getGraphData());
|
||||
updateCanvasSettings();
|
||||
updateCanvases();
|
||||
|
|
|
@ -155,6 +155,7 @@ import com.raytheon.viz.ui.presenter.IDisplay;
|
|||
* 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 11, 2014 2771 bgonzale Use Data Delivery ID instead of Site.
|
||||
* Mar 24, 2014 #2951 lvenable Added dispose checks for SWT widgets.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -1050,6 +1051,9 @@ public class SubscriptionManagerDlg extends CaveSWTDialog implements
|
|||
VizApp.runAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
handleRefresh();
|
||||
}
|
||||
});
|
||||
|
@ -1549,6 +1553,9 @@ public class SubscriptionManagerDlg extends CaveSWTDialog implements
|
|||
VizApp.runAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
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.
|
||||
* Feb 04, 2014 2722 mpduff Add last update time.
|
||||
* 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
|
||||
*/
|
||||
|
||||
|
@ -413,6 +415,10 @@ public class SubscriptionTableComp extends TableComp implements IGroupAction {
|
|||
VizApp.runAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
updateTable(subList);
|
||||
subActionCallback.updateControls();
|
||||
}
|
||||
|
@ -885,6 +891,9 @@ public class SubscriptionTableComp extends TableComp implements IGroupAction {
|
|||
VizApp.runAsync(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
populateTable();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue