Merge "Issue #2139 Revert "Issue #2139 Run async job for loading maps in warngen."" into omaha_13.5.1
Former-commit-id:f7e743f388
[formerlyf7e743f388
[formerly 8b91364fc675cfa8eb0cb6faefb2951cca1e365d]] Former-commit-id:001fba449f
Former-commit-id:0cb9726554
This commit is contained in:
commit
57d1375eed
2 changed files with 2 additions and 18 deletions
|
@ -27,5 +27,4 @@ Bundle-ActivationPolicy: lazy
|
||||||
Bundle-ClassPath: .
|
Bundle-ClassPath: .
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||||
Export-Package: com.raytheon.viz.ui.personalities.awips
|
Export-Package: com.raytheon.viz.ui.personalities.awips
|
||||||
Import-Package: com.raytheon.uf.common.pypies,
|
Import-Package: com.raytheon.uf.common.pypies
|
||||||
com.raytheon.uf.viz.core.maps
|
|
||||||
|
|
|
@ -19,13 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.viz.ui.personalities.awips;
|
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
|
* TODO Add Description
|
||||||
*
|
*
|
||||||
|
@ -35,7 +28,6 @@ import com.raytheon.uf.viz.core.maps.MapStore;
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* Aug 9, 2010 mschenke Initial creation
|
* Aug 9, 2010 mschenke Initial creation
|
||||||
* Jun 25, 2013 2139 jsanchez Loaded the map tree on CAVE start up.
|
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -58,14 +50,7 @@ public class CAVE extends AbstractCAVEComponent {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void startInternal(String componentName) throws Exception {
|
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