tmf remote: Bug 460847: SWTBot tests for remote fetching of traces
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests / src / org / eclipse / tracecompass / tmf / remote / ui / swtbot / tests / TmfRemoteUISWTBotTestPlugin.java
1 /*******************************************************************************
2 * Copyright (c) 2015 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 * Marc-Andre Laperle - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.tmf.remote.ui.swtbot.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 TmfRemoteUISWTBotTestPlugin extends AbstractUIPlugin {
22
23 /** The plug-in ID */
24 public static final String PLUGIN_ID = "org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests"; //$NON-NLS-1$
25
26 // The shared instance
27 private static TmfRemoteUISWTBotTestPlugin plugin;
28
29 /**
30 * The constructor
31 */
32 public TmfRemoteUISWTBotTestPlugin() {
33 }
34
35 @Override
36 public void start(BundleContext context) throws Exception {
37 super.start(context);
38 plugin = this;
39 }
40
41 @Override
42 public void stop(BundleContext context) throws Exception {
43 plugin = null;
44 super.stop(context);
45 }
46
47 /**
48 * Returns the shared instance
49 *
50 * @return the shared instance
51 */
52 public static TmfRemoteUISWTBotTestPlugin getDefault() {
53 return plugin;
54 }
55 }
This page took 0.030814 seconds and 5 git commands to generate.