package com.perforce.team.core.mylyn;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class PerforceCoreMylynPlugin extends Plugin {
/**
* The plug-in ID
*/
public static final String PLUGIN_ID = "com.perforce.team.core.mylyn"; //$NON-NLS-1$
// The shared instance
private static PerforceCoreMylynPlugin plugin;
/**
* The constructor
*/
public PerforceCoreMylynPlugin() {
}
/**
* @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext)
*/
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
/**
* @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
*/
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public static PerforceCoreMylynPlugin getDefault() {
return plugin;
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
15907 |
Matt Attaway |
More house cleaning to match Workshop best practices |
|
|
//guest/perforce_software/p4eclipse/r14.1/src/3.7/plugins/com.perforce.team.core.mylyn/src/com/perforce/team/core/mylyn/PerforceCoreMylynPlugin.java |
#1
|
12432 |
Matt Attaway |
Initial commit of the 2014.1 P4Eclipse source code. |
|
|