ibrowserconstants.java

来自「这是用eclipse的rcp写成的一个浏览器的离子」· Java 代码 · 共 55 行

JAVA
55
字号
/*******************************************************************************
 * Copyright (c) 2004 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.ui.examples.rcp.browser;

/**
 * Interface defining constants for use in the browser example.
 */
public interface IBrowserConstants {

    /**
     * ID of the RCP Browser Example plug-in.
     */
    public static final String PLUGIN_ID = "org.eclipse.ui.examples.rcp.browser"; //$NON-NLS-1$
    
    /**
     * ID of the Browser perspective.
     */
    public static final String BROWSER_PERSPECTIVE_ID = PLUGIN_ID + ".browserPerspective"; //$NON-NLS-1$
    
    /**
     * ID of the Browser view.
     */
    public static final String BROWSER_VIEW_ID = PLUGIN_ID + ".browserView"; //$NON-NLS-1$

    /**
     * ID of the History view.
     */
    public static final String HISTORY_VIEW_ID = PLUGIN_ID + ".historyView"; //$NON-NLS-1$

    /**
     * Common prefix for command ids.
     */
    public static final String COMMAND_PREFIX = PLUGIN_ID + ".commands."; //$NON-NLS-1$
    
    /**
     * Preference key for the home page URL (property is String-valued).
     */
    public static final String PREF_HOME_PAGE = "homePage"; //$NON-NLS-1$

    /**
     * Memento attribute name for the browser URL (attribute is String-valued).
     */
    public static final String MEMENTO_URL = "url"; //$NON-NLS-1$
    
}

⌨️ 快捷键说明

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