Merge "Issue #1328 Fixed invalid thread access issue when parm inventory changes and GridCanvas needs to redraw" into development
Former-commit-id:5c772dc93e
[formerly80c743ac8b
] [formerly4867cd2a64
] [formerly5c772dc93e
[formerly80c743ac8b
] [formerly4867cd2a64
] [formerlya505d78463
[formerly4867cd2a64
[formerly 6ae7f9a4947420a6985ecbe2834f9c9fc9f5cac4]]]] Former-commit-id:a505d78463
Former-commit-id:3c9215fbc5
[formerly7b004618b5
] [formerly 93b31715757234f76e490ab3f956e4f601a58bbb [formerlyef76ea6d61
]] Former-commit-id: 7f7d5b85868c6816542163cbec3ae6340e6c877b [formerly50d01007dc
] Former-commit-id:8d184d92cd
This commit is contained in:
commit
a4386c4dcf
1 changed files with 11 additions and 1 deletions
|
@ -76,6 +76,14 @@ import com.raytheon.viz.gfe.temporaleditor.TemporalEditor;
|
|||
|
||||
public class GridManager implements IGridManager,
|
||||
ISpatialEditorTimeChangedListener {
|
||||
|
||||
private class RedrawRunnable implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
redraw();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Job to scroll the grid manager horizontally
|
||||
*/
|
||||
|
@ -246,6 +254,8 @@ public class GridManager implements IGridManager,
|
|||
|
||||
private boolean selectionActive;
|
||||
|
||||
private Runnable redraw = new RedrawRunnable();
|
||||
|
||||
/**
|
||||
* @return the selectionActive
|
||||
*/
|
||||
|
@ -801,6 +811,6 @@ public class GridManager implements IGridManager,
|
|||
@Override
|
||||
public void spatialEditorTimeChanged(Date date) {
|
||||
syncSelectTR(date);
|
||||
redraw();
|
||||
VizApp.runAsync(redraw);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue