Update TmfTrace as per ITmfTrace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.core.tests / src / org / eclipse / linuxtools / lttng / core / tests / LTTngCoreTestPlugin.java
CommitLineData
03c71d1e
ASL
1/*******************************************************************************
2 * Copyright (c) 2009 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
6c13869b 13package org.eclipse.linuxtools.lttng.core.tests;
03c71d1e
ASL
14
15import org.eclipse.core.runtime.Plugin;
422f0fb8 16import org.osgi.framework.BundleContext;
03c71d1e
ASL
17
18/**
19 * <b><u>TmfCoreTestPlugin</u></b>
20 * <p>
21 * The activator class controls the plug-in life cycle
22 */
3b38ea61 23@SuppressWarnings("nls")
03c71d1e
ASL
24public class LTTngCoreTestPlugin extends Plugin {
25
26 // ========================================================================
27 // Attributes
28 // ========================================================================
29
30 // The plug-in ID
31 public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng.tests";
32
33 // The shared instance
34 private static LTTngCoreTestPlugin plugin;
35
36 // ========================================================================
37 // Constructors
38 // ========================================================================
39
40 /**
41 * The constructor
42 */
43 public LTTngCoreTestPlugin() {
44 plugin = this;
45 }
46
47 // ========================================================================
48 // Accessors
49 // ========================================================================
50
51 /**
52 * @return the shared instance
53 */
54 public static LTTngCoreTestPlugin getPlugin() {
55 return plugin;
56 }
422f0fb8
BH
57
58 @Override
59 public void start(BundleContext context) throws Exception {
60 super.start(context);
61 plugin = this;
62 }
63
64 @Override
65 public void stop(BundleContext context) throws Exception {
66 plugin = null;
67 super.stop(context);
68 }
03c71d1e 69}
This page took 0.032342 seconds and 5 git commands to generate.