1 /*******************************************************************************
2 * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.ctf
.core
;
15 import org
.eclipse
.core
.runtime
.IStatus
;
16 import org
.eclipse
.core
.runtime
.Plugin
;
17 import org
.eclipse
.core
.runtime
.Status
;
18 import org
.osgi
.framework
.BundleContext
;
21 * <b><u>CtfCorePlugin</u></b>
23 * The activator class controls the plug-in life cycle. No more than one such
24 * plug-in can exist at any time.
26 public class CtfCorePlugin
extends Plugin
{
28 // ------------------------------------------------------------------------
30 // ------------------------------------------------------------------------
33 public static final String PLUGIN_ID
= "org.eclipse.linuxtools.ctf"; //$NON-NLS-1$
35 // The shared instance
36 private static CtfCorePlugin fPlugin
;
38 // ------------------------------------------------------------------------
40 // ------------------------------------------------------------------------
42 public CtfCorePlugin() {
46 // ------------------------------------------------------------------------
48 // ------------------------------------------------------------------------
50 public static CtfCorePlugin
getDefault() {
54 private static void setDefault(CtfCorePlugin plugin
) {
58 // ------------------------------------------------------------------------
60 // ------------------------------------------------------------------------
63 public void start(BundleContext context
) throws Exception
{
69 public void stop(BundleContext context
) throws Exception
{
74 // ------------------------------------------------------------------------
76 // ------------------------------------------------------------------------
78 public void log(String msg
) {
82 public void log(String msg
, Exception e
) {
83 getLog().log(new Status(IStatus
.INFO
, PLUGIN_ID
, IStatus
.OK
, msg
, e
));
This page took 0.030924 seconds and 5 git commands to generate.