01: /*******************************************************************************
02: * Copyright (c) 2000, 2007 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.editors.text;
11:
12: import org.eclipse.ui.ide.IDEActionFactory;
13: import org.eclipse.ui.texteditor.IAbstractTextEditorHelpContextIds;
14: import org.eclipse.ui.texteditor.ITextEditorActionConstants;
15:
16: /**
17: * Help context IDs for the text editor.
18: * <p>
19: * This interface contains constants only; it is not intended to be implemented.</p>
20: */
21: public interface ITextEditorHelpContextIds extends
22: IAbstractTextEditorHelpContextIds {
23:
24: /**
25: * Id for the text editor preference page.
26: * Value: <code>"org.eclipse.ui.text_editor_preference_page_context"</code>.
27: */
28: public static final String TEXT_EDITOR_PREFERENCE_PAGE = PREFIX
29: + "text_editor_preference_page_context"; //$NON-NLS-1$
30:
31: /**
32: * Help context id for the Spelling preference page.
33: * Value: <code>"org.eclipse.ui.spelling_preference_page_context"</code>.
34: * @since 3.4
35: */
36: public static final String SPELLING_PREFERENCE_PAGE = PREFIX
37: + "spelling_preference_page_context"; //$NON-NLS-1$
38:
39: /**
40: * Id for the text editor.
41: * Value: <code>"org.eclipse.ui.text_editor_context"</code>.
42: */
43: public static final String TEXT_EDITOR = PREFIX
44: + "text_editor_context"; //$NON-NLS-1$
45:
46: /**
47: * Help context id for the "Add Bookmark" action.
48: * Value: <code>"org.eclipse.ui.bookmark_action_context"</code>
49: * @since 3.0
50: */
51: public static final String BOOKMARK_ACTION = PREFIX
52: + IDEActionFactory.BOOKMARK.getId() + ACTION_POSTFIX;
53:
54: /**
55: * Help context id for the Add Task action.
56: * Value: <code>"org.eclipse.ui.addTask_action_context"</code>
57: * @since 3.0
58: */
59: public static final String ADD_TASK_ACTION = PREFIX
60: + IDEActionFactory.ADD_TASK.getId() + ACTION_POSTFIX;
61:
62: /**
63: * Help context id for the "Change Encoding..." action.
64: * Value: <code>"org.eclipse.ui.ChangeEncoding_action_context"</code>
65: * @since 3.1
66: */
67: public static final String CHANGE_ENCODING = PREFIX
68: + ITextEditorActionConstants.CHANGE_ENCODING
69: + ACTION_POSTFIX;
70: }
|