crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/model/StartupHandler.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/model/StartupHandler.java Thu Feb 11 15:06:45 2010 +0200
@@ -0,0 +1,36 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+package com.nokia.s60tools.crashanalyser.model;
+
+import org.eclipse.ui.IStartup;
+
+import com.nokia.s60tools.crashanalyser.plugin.CrashAnalyserPlugin;
+
+/**
+ * Startup handler is called when Carbide is started. We need to start
+ * emulator and/or trace listeners according to preferences.
+ *
+ */
+public class StartupHandler implements IStartup {
+
+ public void earlyStartup() {
+ CrashAnalyserPlugin.startTraceListener();
+ CrashAnalyserPlugin.startEmulatorListener();
+ }
+
+}