Merge "Issue #2139 Loaded maps at cave start up." into omaha_13.5.1

Former-commit-id: c68cf47883 [formerly e4955f094c] [formerly 01efa33cb9 [formerly 5865b5ff9909ff00d047f41174b7e89ca921bb8b]]
Former-commit-id: 01efa33cb9
Former-commit-id: 150203f5cc
This commit is contained in:
Nate Jensen 2013-07-02 11:07:59 -05:00 committed by Gerrit Code Review
commit 058e47192a
2 changed files with 12 additions and 3 deletions

View file

@ -27,4 +27,5 @@ 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
Import-Package: com.raytheon.uf.common.pypies,
com.raytheon.uf.viz.core.maps

View file

@ -19,8 +19,11 @@
**/
package com.raytheon.viz.ui.personalities.awips;
import com.raytheon.uf.viz.core.maps.MapStore;
/**
* TODO Add Description
* This is the default component for CAVE that is the standard workbench with
* all the perspectives.
*
* <pre>
*
@ -28,6 +31,7 @@ package com.raytheon.viz.ui.personalities.awips;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Aug 9, 2010 mschenke Initial creation
* Jul 1, 2013 2139 jsanchez Loaded map tree at cave start up.
*
* </pre>
*
@ -50,7 +54,11 @@ public class CAVE extends AbstractCAVEComponent {
*/
@Override
protected void startInternal(String componentName) throws Exception {
// Loading Map Tree
long t = System.currentTimeMillis();
MapStore.getMapTree();
System.out.println("Loading Map Tree: "
+ (System.currentTimeMillis() - t));
}
}