ctf: Remove unused StreamInputReaderComparator.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / CtfCoreTestPlugin.java
CommitLineData
32bf80d2
AM
1/*******************************************************************************
2 * Copyright (c) 2013 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 * Alexandre Montplaisir - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.ctf.core.tests;
14
15import org.eclipse.core.runtime.Plugin;
16import org.osgi.framework.BundleContext;
17
18/**
19 * The activator class controls the plug-in life cycle
20 */
21public class CtfCoreTestPlugin extends Plugin {
22
23 // ------------------------------------------------------------------------
24 // Attributes
25 // ------------------------------------------------------------------------
26
27 /** The plug-in ID */
4a9c1f07 28 public static final String PLUGIN_ID = "org.eclipse.linuxtools.ctf.core.tests";
32bf80d2
AM
29
30 // The shared instance
31 private static CtfCoreTestPlugin fPlugin;
32
33 // ------------------------------------------------------------------------
34 // Constructors
35 // ------------------------------------------------------------------------
36
37 /**
38 * The constructor
39 */
40 public CtfCoreTestPlugin() {
41 setDefault(this);
42 }
43
44 // ------------------------------------------------------------------------
45 // Accessors
46 // ------------------------------------------------------------------------
47
48 /**
49 * @return the shared instance
50 */
51 public static CtfCoreTestPlugin getDefault() {
52 return fPlugin;
53 }
54
55 /**
56 * @param plugin
57 * the shared instance
58 */
59 private static void setDefault(CtfCoreTestPlugin plugin) {
60 fPlugin = plugin;
61 }
62
63 // ------------------------------------------------------------------------
64 // Operations
65 // ------------------------------------------------------------------------
66
67 @Override
68 public void start(BundleContext context) throws Exception {
69 super.start(context);
70 setDefault(this);
71 }
72
73 @Override
74 public void stop(BundleContext context) throws Exception {
75 setDefault(null);
76 super.stop(context);
77 }
78
79}
This page took 0.028639 seconds and 5 git commands to generate.