⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yahooplugin.java

📁 EclipseTrader is a stock exchange analysis system, featuring shares pricing watch, intraday and hi
💻 JAVA
字号:
/* * Copyright (c) 2004-2006 Marco Maccaferri 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: *     Marco Maccaferri - initial API and implementation */package net.sourceforge.eclipsetrader.yahoo;import org.eclipse.ui.plugin.*;import org.eclipse.jface.resource.ImageDescriptor;import org.osgi.framework.BundleContext;public class YahooPlugin extends AbstractUIPlugin{    public static final String PLUGIN_ID = "net.sourceforge.eclipsetrader.yahoo"; //$NON-NLS-1$    public static final String PREFS_SHOW_SUBSCRIBERS_ONLY = "SHOW_SUBSCRIBERS_ONLY"; //$NON-NLS-1$    public static final String PREFS_UPDATE_HISTORY = "UPDATE_HISTORY"; //$NON-NLS-1$    private static YahooPlugin plugin;    /**     * The constructor.     */    public YahooPlugin()    {        plugin = this;    }    /**     * This method is called upon plug-in activation     */    public void start(BundleContext context) throws Exception    {        super.start(context);    }    /**     * This method is called when the plug-in is stopped     */    public void stop(BundleContext context) throws Exception    {        super.stop(context);        plugin = null;    }    /**     * Returns the shared instance.     */    public static YahooPlugin 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 AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, path);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -