01: /*******************************************************************************
02: * Copyright (c) 2004, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.examples.rcp.browser;
11:
12: /**
13: * Interface defining constants for use in the browser example.
14: */
15: public interface IBrowserConstants {
16:
17: /**
18: * ID of the RCP Browser Example plug-in.
19: */
20: public static final String PLUGIN_ID = "org.eclipse.ui.examples.rcp.browser"; //$NON-NLS-1$
21:
22: /**
23: * ID of the Browser perspective.
24: */
25: public static final String BROWSER_PERSPECTIVE_ID = PLUGIN_ID
26: + ".browserPerspective"; //$NON-NLS-1$
27:
28: /**
29: * ID of the Browser view.
30: */
31: public static final String BROWSER_VIEW_ID = PLUGIN_ID
32: + ".browserView"; //$NON-NLS-1$
33:
34: /**
35: * ID of the History view.
36: */
37: public static final String HISTORY_VIEW_ID = PLUGIN_ID
38: + ".historyView"; //$NON-NLS-1$
39:
40: /**
41: * Common prefix for command ids.
42: */
43: public static final String COMMAND_PREFIX = PLUGIN_ID
44: + ".commands."; //$NON-NLS-1$
45:
46: /**
47: * Preference key for the home page URL (property is String-valued).
48: */
49: public static final String PREF_HOME_PAGE = "homePage"; //$NON-NLS-1$
50:
51: /**
52: * Memento attribute name for the browser URL (attribute is String-valued).
53: */
54: public static final String MEMENTO_URL = "url"; //$NON-NLS-1$
55:
56: }
|