Issue #2139 Loaded maps at cave start up.

Change-Id: If7d1e801190a2215c6043b81b4beb70e09ba9ee1

Former-commit-id: a2328f0e06 [formerly a2328f0e06 [formerly 55cb110ba6f328d9fb68d3a9c46254f342299237]]
Former-commit-id: de24b8b431
Former-commit-id: 4e1b0674e4
This commit is contained in:
Jonathan Sanchez 2013-07-02 11:04:26 -05:00
parent 57d1375eed
commit 5431e5915d
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));
}
}