diff options
Diffstat (limited to 'FROMCVS/org.eclipse.sdk-feature/plugins/org.eclipse.test.dispatcher/src/org/eclipse/test/dispatcher/Activator.java')
-rwxr-xr-x | FROMCVS/org.eclipse.sdk-feature/plugins/org.eclipse.test.dispatcher/src/org/eclipse/test/dispatcher/Activator.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/FROMCVS/org.eclipse.sdk-feature/plugins/org.eclipse.test.dispatcher/src/org/eclipse/test/dispatcher/Activator.java b/FROMCVS/org.eclipse.sdk-feature/plugins/org.eclipse.test.dispatcher/src/org/eclipse/test/dispatcher/Activator.java new file mode 100755 index 000000000..0857f85b7 --- /dev/null +++ b/FROMCVS/org.eclipse.sdk-feature/plugins/org.eclipse.test.dispatcher/src/org/eclipse/test/dispatcher/Activator.java @@ -0,0 +1,31 @@ +/******************************************************************************* + * Copyright (c) 2000, 2007 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.test.dispatcher; + +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + +private static BundleContext context; + + public void start(BundleContext context) throws Exception { + Activator.context = context; + super.start(context); + } + + public static BundleContext getBundleContext(){ + return Activator.context; + } +} |