01: /*******************************************************************************
02: * Copyright (c) 2004, 2005 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.jface.contexts;
11:
12: /**
13: * <p>
14: * A list of well-known context identifiers. The context identifiers use the
15: * prefix "org.eclipse.ui" for historical reasons. These contexts exist as part
16: * of JFace.
17: * </p>
18: * <p>
19: * This interface should not be implemented or extended by clients.
20: * </p>
21: *
22: * @since 3.1
23: */
24: public interface IContextIds {
25:
26: /**
27: * The identifier for the context that is active when a shell registered as
28: * a dialog.
29: */
30: public static final String CONTEXT_ID_DIALOG = "org.eclipse.ui.contexts.dialog"; //$NON-NLS-1$
31:
32: /**
33: * The identifier for the context that is active when a shell is registered
34: * as either a window or a dialog.
35: */
36: public static final String CONTEXT_ID_DIALOG_AND_WINDOW = "org.eclipse.ui.contexts.dialogAndWindow"; //$NON-NLS-1$
37:
38: /**
39: * The identifier for the context that is active when a shell is registered
40: * as a window.
41: */
42: public static final String CONTEXT_ID_WINDOW = "org.eclipse.ui.contexts.window"; //$NON-NLS-1$
43: }
|