KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > editors > text > ITextEditorHelpContextIds


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.ui.editors.text;
12
13 import org.eclipse.ui.ide.IDEActionFactory;
14 import org.eclipse.ui.texteditor.IAbstractTextEditorHelpContextIds;
15 import org.eclipse.ui.texteditor.ITextEditorActionConstants;
16
17
18 /**
19  * Help context IDs for the text editor.
20  * <p>
21  * This interface contains constants only; it is not intended to be implemented.</p>
22  */

23 public interface ITextEditorHelpContextIds extends IAbstractTextEditorHelpContextIds {
24
25     /**
26      * Id for the text editor preference page.
27      * Value: <code>"org.eclipse.ui.text_editor_preference_page_context"</code>.
28      */

29     public static final String JavaDoc TEXT_EDITOR_PREFERENCE_PAGE= PREFIX + "text_editor_preference_page_context"; //$NON-NLS-1$
30

31     /**
32      * Id for the text editor.
33      * Value: <code>"org.eclipse.ui.text_editor_context"</code>.
34      */

35     public static final String JavaDoc TEXT_EDITOR= PREFIX + "text_editor_context"; //$NON-NLS-1$
36

37     /**
38      * Help context id for the "Add Bookmark" action.
39      * Value: <code>"org.eclipse.ui.bookmark_action_context"</code>
40      * @since 3.0
41      */

42     public static final String JavaDoc BOOKMARK_ACTION= PREFIX + IDEActionFactory.BOOKMARK.getId() + ACTION_POSTFIX;
43
44     /**
45      * Help context id for the Add Task action.
46      * Value: <code>"org.eclipse.ui.addTask_action_context"</code>
47      * @since 3.0
48      */

49     public static final String JavaDoc ADD_TASK_ACTION= PREFIX + IDEActionFactory.ADD_TASK.getId() + ACTION_POSTFIX;
50
51     /**
52      * Help context id for the "Change Encoding..." action.
53      * Value: <code>"org.eclipse.ui.ChangeEncoding_action_context"</code>
54      * @since 3.1
55      */

56     public static final String JavaDoc CHANGE_ENCODING= PREFIX + ITextEditorActionConstants.CHANGE_ENCODING + ACTION_POSTFIX;
57 }
58
Popular Tags