activator.java
来自「基于Eclipse RCP模型下的文档管理程序源代码」· Java 代码 · 共 46 行
JAVA
46 行
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: Activator.java
package fileexplorer;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
public class Activator extends AbstractUIPlugin
{
public Activator()
{
plugin = this;
}
public void start(BundleContext context)
throws Exception
{
super.start(context);
}
public void stop(BundleContext context)
throws Exception
{
plugin = null;
super.stop(context);
}
public static Activator getDefault()
{
return plugin;
}
public static ImageDescriptor getImageDescriptor(String path)
{
return imageDescriptorFromPlugin("fileexplorer", path);
}
public static final String PLUGIN_ID = "fileexplorer";
private static Activator plugin;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?