blob: 4cbd745c3a659b873019bf663da513746bbcb0c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.editors.text;
import org.eclipse.ui.ide.IDEActionFactory;
import org.eclipse.ui.texteditor.IAbstractTextEditorHelpContextIds;
import org.eclipse.ui.texteditor.ITextEditorActionConstants;
/**
* Help context IDs for the text editor.
* <p>
* This interface contains constants only; it is not intended to be implemented.</p>
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
*/
public interface ITextEditorHelpContextIds extends IAbstractTextEditorHelpContextIds {
/**
* Id for the text editor preference page.
* Value: <code>"org.eclipse.ui.text_editor_preference_page_context"</code>.
*/
String TEXT_EDITOR_PREFERENCE_PAGE= PREFIX + "text_editor_preference_page_context"; //$NON-NLS-1$
/**
* Help context id for the Spelling preference page.
* Value: <code>"org.eclipse.ui.spelling_preference_page_context"</code>.
* @since 3.4
*/
String SPELLING_PREFERENCE_PAGE= PREFIX + "spelling_preference_page_context"; //$NON-NLS-1$
/**
* Id for the text editor.
* Value: <code>"org.eclipse.ui.text_editor_context"</code>.
*/
String TEXT_EDITOR= PREFIX + "text_editor_context"; //$NON-NLS-1$
/**
* Help context id for the "Add Bookmark" action.
* Value: <code>"org.eclipse.ui.bookmark_action_context"</code>
* @since 3.0
*/
String BOOKMARK_ACTION= PREFIX + IDEActionFactory.BOOKMARK.getId() + ACTION_POSTFIX;
/**
* Help context id for the Add Task action.
* Value: <code>"org.eclipse.ui.addTask_action_context"</code>
* @since 3.0
*/
String ADD_TASK_ACTION= PREFIX + IDEActionFactory.ADD_TASK.getId() + ACTION_POSTFIX;
/**
* Help context id for the "Change Encoding..." action.
* Value: <code>"org.eclipse.ui.ChangeEncoding_action_context"</code>
* @since 3.1
*/
String CHANGE_ENCODING= PREFIX + ITextEditorActionConstants.CHANGE_ENCODING + ACTION_POSTFIX;
/**
* Id for the text editor preference page. Value:
* <code>"org.eclipse.ui.accessibility_preference_page_context"</code>.
* @since 3.6
*/
String ACCESSIBILITY_PREFERENCE_PAGE= PREFIX + "accessibility_preference_page_context"; //$NON-NLS-1$
}
|