Merge "Issue #2139 Revert "Issue #2139 Run async job for loading maps in warngen."" into omaha_13.5.1

Former-commit-id: 5b1d7fe401 [formerly b23dcab913] [formerly f7e743f388] [formerly 001fba449f [formerly f7e743f388 [formerly 8b91364fc675cfa8eb0cb6faefb2951cca1e365d]]]
Former-commit-id: 001fba449f
Former-commit-id: 27c725fc1f0951e0a75e945562aeea6cde35b4e0 [formerly 0cb9726554]
Former-commit-id: 47d3441930
This commit is contained in:
Nate Jensen 2013-07-01 11:29:47 -05:00 committed by Gerrit Code Review
commit c4edde79f5
2 changed files with 2 additions and 18 deletions

View file

@ -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

View file

@ -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();
}
}