KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 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.ui.editors.text;
12
13 import org.eclipse.ui.texteditor.IAbstractTextEditorHelpContextIds;
14
15
16 /**
17  * Help context IDs for the encoding actions.
18  * <p>
19  * This interface contains constants only; it is not intended to be implemented.</p>
20  *
21  * @since 2.0
22  * @deprecated As of 3.1, encoding needs to be changed via properties dialog
23  */

24 public interface IEncodingActionsHelpContextIds {
25
26     /**
27      * Help id of the action to change the encoding into default.
28      * Default value: <code>"org.eclipse.ui.default_action_context"</code>
29      * @since 3.0
30      */

31     public static final String JavaDoc DEFAULT= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.DEFAULT + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
32
33     /**
34      * Help id of the action to change the encoding into US ASCII.
35      * Default value: <code>"org.eclipse.ui.US-ASCII_action_context"</code>
36      */

37     public static final String JavaDoc US_ASCII= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.US_ASCII + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
38
39     /**
40      * Help id of the action to change the encoding into ISO-8859-1.
41      * Default value: <code>"org.eclipse.ui.ISO-8859-1_action_context"</code>
42      */

43     public static final String JavaDoc ISO_8859_1= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.ISO_8859_1 + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
44
45     /**
46      * Help id of the action to change the encoding into UTF-8
47      * Default value: <code>"org.eclipse.ui.UTF-8_action_context"</code>
48      */

49     public static final String JavaDoc UTF_8= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.UTF_8 + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
50
51     /**
52      * Help id of the action to change the encoding into UTF-16BE.
53      * Default value: <code>"org.eclipse.ui.UTF-16BE_action_context"</code>
54      */

55     public static final String JavaDoc UTF_16BE= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.UTF_16BE + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
56
57     /**
58      * Help id of the action to change the encoding into UTF-16LE.
59      * Default value: <code>"org.eclipse.ui.UTF-16LE_action_context"</code>
60      */

61     public static final String JavaDoc UTF_16LE= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.UTF_16LE + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
62
63     /**
64      * Help id of the action to change the encoding into UTF-16.
65      * Default value: <code>"org.eclipse.ui.UTF-16_action_context"</code>
66      */

67     public static final String JavaDoc UTF_16= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.UTF_16 + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
68
69     /**
70      * Help id of the action to change the encoding into the system encoding.
71      * Default value: <code>"org.eclipse.ui.System_action_context"</code>
72      */

73     public static final String JavaDoc SYSTEM= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.SYSTEM + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
74
75     /**
76      * Help id of the action to change the encoding into a custom encoding.
77      * Default value: <code>"org.eclipse.ui.Custom_action_context"</code>
78      */

79     public static final String JavaDoc CUSTOM= IAbstractTextEditorHelpContextIds.PREFIX + IEncodingActionsConstants.CUSTOM + IAbstractTextEditorHelpContextIds.ACTION_POSTFIX;
80 }
81
Popular Tags