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