Issue #1633 Change to WarnGenDialog so the checkFollowupSelection method uses Simulated Time.
Change-Id: I8d25084a88506f6e9bec72cfd40f02165d421869 Former-commit-id: 011b0822a8942d6dc4307b0a422060d9a97c7f8d
This commit is contained in:
parent
14c2a2b201
commit
1d51a10f4b
1 changed files with 2 additions and 1 deletions
|
@ -133,6 +133,7 @@ import com.vividsolutions.jts.geom.Polygon;
|
|||
* Feb 7, 2013 DR 15799 Qinglu Lin Added setPolygonLocked(false) to conSelected(), newSelected(); added
|
||||
* setPolygonLocked(true) below conSelected() is called in corSelected(),
|
||||
* and removed it from updateListSelected().
|
||||
* Feb 18, 2013 #1633 rferrel Changed checkFollowupSelection to use SimulatedTime.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -1112,7 +1113,7 @@ public class WarngenDialog extends CaveSWTDialog implements
|
|||
}
|
||||
|
||||
if (timeRange != null
|
||||
&& timeRange.contains(Calendar.getInstance().getTime()) == false) {
|
||||
&& timeRange.contains(SimulatedTime.getSystemTime().getTime()) == false) {
|
||||
// The action is no longer available in the follow up/update list
|
||||
statusHandler.handle(Priority.PROBLEM,
|
||||
"Follow up product has nothing to follow up.");
|
||||
|
|
Loading…
Add table
Reference in a new issue