Merge "Issue #2139 Revert "Issue #2139 Run async job for loading maps in warngen."" into omaha_13.5.1
Former-commit-id:001fba449f
[formerlyf7e743f388
[formerly 8b91364fc675cfa8eb0cb6faefb2951cca1e365d]] Former-commit-id:f7e743f388
Former-commit-id:b23dcab913
This commit is contained in:
commit
5b1d7fe401
2 changed files with 2 additions and 18 deletions
|
@ -27,5 +27,4 @@ Bundle-ActivationPolicy: lazy
|
|||
Bundle-ClassPath: .
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
Export-Package: com.raytheon.viz.ui.personalities.awips
|
||||
Import-Package: com.raytheon.uf.common.pypies,
|
||||
com.raytheon.uf.viz.core.maps
|
||||
Import-Package: com.raytheon.uf.common.pypies
|
||||
|
|
|
@ -19,13 +19,6 @@
|
|||
**/
|
||||
package com.raytheon.viz.ui.personalities.awips;
|
||||
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.core.runtime.IStatus;
|
||||
import org.eclipse.core.runtime.Status;
|
||||
import org.eclipse.core.runtime.jobs.Job;
|
||||
|
||||
import com.raytheon.uf.viz.core.maps.MapStore;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
*
|
||||
|
@ -35,7 +28,6 @@ import com.raytheon.uf.viz.core.maps.MapStore;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Aug 9, 2010 mschenke Initial creation
|
||||
* Jun 25, 2013 2139 jsanchez Loaded the map tree on CAVE start up.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -58,14 +50,7 @@ public class CAVE extends AbstractCAVEComponent {
|
|||
*/
|
||||
@Override
|
||||
protected void startInternal(String componentName) throws Exception {
|
||||
Job job = new Job("Loading Map Tree") {
|
||||
@Override
|
||||
protected IStatus run(IProgressMonitor monitor) {
|
||||
MapStore.getMapTree();
|
||||
return Status.OK_STATUS;
|
||||
}
|
||||
};
|
||||
job.schedule();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue