blob: 91c0faa31d811febfe30d6a654a0d86b89a52f60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* Copyright (c) 2008
* Embedded Brains GmbH
* Obere Lagerstr. 30
* D-82178 Puchheim
* Germany
* rtems@embedded-brains.de
*
* The license and distribution terms for this file may be found in the file
* LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
*/
package org.rtems.cdt;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
public class Activator extends AbstractUIPlugin {
private static Activator mPlugin;
public Activator() {
super();
}
public void start( BundleContext context) throws Exception {
super.start( context);
mPlugin = this;
}
public void stop( BundleContext context) throws Exception {
mPlugin = null;
super.stop( context);
}
public static Activator getDefault() {
return mPlugin;
}
}
|