Commit | Line | Data |
---|---|---|
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 | ||
13 | package org.eclipse.linuxtools.lttng.tests; | |
14 | ||
15 | import org.eclipse.core.runtime.Plugin; | |
16 | ||
17 | /** | |
18 | * <b><u>TmfCoreTestPlugin</u></b> | |
19 | * <p> | |
20 | * The activator class controls the plug-in life cycle | |
21 | */ | |
3b38ea61 | 22 | @SuppressWarnings("nls") |
03c71d1e ASL |
23 | public class LTTngCoreTestPlugin extends Plugin { |
24 | ||
25 | // ======================================================================== | |
26 | // Attributes | |
27 | // ======================================================================== | |
28 | ||
29 | // The plug-in ID | |
30 | public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng.tests"; | |
31 | ||
32 | // The shared instance | |
33 | private static LTTngCoreTestPlugin plugin; | |
34 | ||
35 | // ======================================================================== | |
36 | // Constructors | |
37 | // ======================================================================== | |
38 | ||
39 | /** | |
40 | * The constructor | |
41 | */ | |
42 | public LTTngCoreTestPlugin() { | |
43 | plugin = this; | |
44 | } | |
45 | ||
46 | // ======================================================================== | |
47 | // Accessors | |
48 | // ======================================================================== | |
49 | ||
50 | /** | |
51 | * @return the shared instance | |
52 | */ | |
53 | public static LTTngCoreTestPlugin getPlugin() { | |
54 | return plugin; | |
55 | } | |
56 | } |