trace/traceviewer/com.nokia.traceviewer.eventhandler/src/com/nokia/traceviewer/eventhandler/EventHandlerStartup.java
changeset 11 5b9d4d8641ce
equal deleted inserted replaced
10:ed1c9f64298a 11:5b9d4d8641ce
       
     1 /*
       
     2  * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  * Plugin startup class
       
    17  *
       
    18  */
       
    19 package com.nokia.traceviewer.eventhandler;
       
    20 
       
    21 import org.eclipse.ui.IStartup;
       
    22 
       
    23 import com.nokia.trace.eventview.TraceEventView;
       
    24 
       
    25 /**
       
    26  * Plugin startup class
       
    27  */
       
    28 public final class EventHandlerStartup implements IStartup {
       
    29 
       
    30 	/*
       
    31 	 * (non-Javadoc)
       
    32 	 * 
       
    33 	 * @see org.eclipse.ui.IStartup#earlyStartup()
       
    34 	 */
       
    35 	public void earlyStartup() {
       
    36 
       
    37 		// By calling getEventList, we get EventView to register to
       
    38 		// EventRouter so the messages will go through to it.
       
    39 		TraceEventView.getEventList();
       
    40 	}
       
    41 }