KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > contexts > IContextIds


1 /*******************************************************************************
2  * Copyright (c) 2004, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jface.contexts;
12
13 /**
14  * <p>
15  * A list of well-known context identifiers. The context identifiers use the
16  * prefix "org.eclipse.ui" for historical reasons. These contexts exist as part
17  * of JFace.
18  * </p>
19  * <p>
20  * This interface should not be implemented or extended by clients.
21  * </p>
22  *
23  * @since 3.1
24  */

25 public interface IContextIds {
26
27     /**
28      * The identifier for the context that is active when a shell registered as
29      * a dialog.
30      */

31     public static final String JavaDoc CONTEXT_ID_DIALOG = "org.eclipse.ui.contexts.dialog"; //$NON-NLS-1$
32

33     /**
34      * The identifier for the context that is active when a shell is registered
35      * as either a window or a dialog.
36      */

37     public static final String JavaDoc CONTEXT_ID_DIALOG_AND_WINDOW = "org.eclipse.ui.contexts.dialogAndWindow"; //$NON-NLS-1$
38

39     /**
40      * The identifier for the context that is active when a shell is registered
41      * as a window.
42      */

43     public static final String JavaDoc CONTEXT_ID_WINDOW = "org.eclipse.ui.contexts.window"; //$NON-NLS-1$
44
}
45
Popular Tags