Add missing $NON-NLS
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui.tests / src / org / eclipse / linuxtools / lttng / ui / tests / LTTngUITestPlugin.java
1 /*******************************************************************************
2 * Copyright (c) 2011 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.ui.tests;
14
15 import org.eclipse.ui.plugin.AbstractUIPlugin;
16 import org.osgi.framework.BundleContext;
17
18 /**
19 * The activator class controls the plug-in life cycle
20 */
21 public class LTTngUITestPlugin extends AbstractUIPlugin {
22
23 // The plug-in ID
24 public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng.ui.tests"; //$NON-NLS-1$
25
26 // The shared instance
27 private static LTTngUITestPlugin plugin;
28
29 // ------------------------------------------------------------------------
30 // Constructor
31 // ------------------------------------------------------------------------
32
33 public LTTngUITestPlugin() {
34 }
35
36 // ------------------------------------------------------------------------
37 // AbstractUIPlugin
38 // ------------------------------------------------------------------------
39
40 @Override
41 public void start(BundleContext context) throws Exception {
42 super.start(context);
43 plugin = this;
44 }
45
46 @Override
47 public void stop(BundleContext context) throws Exception {
48 plugin = null;
49 super.stop(context);
50 }
51
52 // ------------------------------------------------------------------------
53 // Accessors
54 // ------------------------------------------------------------------------
55
56 public static LTTngUITestPlugin getDefault() {
57 return plugin;
58 }
59
60 }
This page took 0.043493 seconds and 5 git commands to generate.