package killpid; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public static final String PLUGIN_ID = "killpid"; //$NON-NLS-1$ // The shared instance private static Activator plugin; /** * The constructor */ public Activator() { } /* * (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) */ public void start(BundleContext context) throws Exception { super.start(context); plugin = this; } /* * (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) */ public void stop(BundleContext context) throws Exception { plugin = null; super.stop(context); } /** * Returns the shared instance * * @return the shared instance */ public static Activator getDefault() { return plugin; } /** * Returns an image descriptor for the image file at the given * plug-in relative path * * @param path the path * @return the image descriptor */ public static ImageDescriptor getImageDescriptor(String path) { return imageDescriptorFromPlugin(PLUGIN_ID, path); } }

102128742 LV1
2021年4月9日
luohaipeng LV23
2019年11月20日
低调人 LV38
2019年8月4日
songgo LV13
2018年9月29日
幽幻梦之韩霜 LV10
2018年9月4日
sadfasdfasdf LV1
2018年1月23日
g13721549833 LV13
2017年12月2日
chongzi LV15
2017年7月12日
kisn888 LV14
2016年7月25日
情深不寿天 LV2
2016年3月12日

感冒灵颗粒 LV1
2023年3月17日
微信网友_5992582549164032 LV6
2023年2月16日
2011502295 LV6
2022年12月27日
12cq345 LV6
2022年5月25日
何为人
2021年6月9日
暂无贡献等级
102128742 LV1
2021年4月9日
w19991213 LV2
2020年9月21日
CurryKevin LV8
2020年6月22日
Justice_fd
2020年4月23日
暂无贡献等级
amour LV7
2020年3月15日