KickJava   Java API By Example, From Geeks To Geeks.

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


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
14 /**
15  * Defines the definition IDs for the encoding actions.
16  * <p>
17  * This interface contains constants only; it is not intended to be implemented.</p>
18  *
19  * @since 2.0
20  * @deprecated As of 3.1, encoding needs to be changed via properties dialog
21  */

22 public interface IEncodingActionsDefinitionIds {
23     /**
24      * Action definition id of the action to change the encoding into default.
25      * Value is <code>"org.eclipse.ui.edit.text.encoding.default"</code>.
26      * @since 3.0
27      */

28     public static final String JavaDoc DEFAULT= "org.eclipse.ui.edit.text.encoding.default"; //$NON-NLS-1$
29

30     /**
31      * Action definition id of the action to change the encoding into US ASCII.
32      * Value is <code>"org.eclipse.ui.edit.text.encoding.us-ascii"</code>.
33      */

34     public static final String JavaDoc US_ASCII= "org.eclipse.ui.edit.text.encoding.us-ascii"; //$NON-NLS-1$
35

36     /**
37      * Action definition id of the action to change the encoding into ISO-8859-1.
38      * Value is <code>"org.eclipse.ui.edit.text.encoding.iso-8859-1"</code>.
39      */

40     public static final String JavaDoc ISO_8859_1= "org.eclipse.ui.edit.text.encoding.iso-8859-1"; //$NON-NLS-1$
41

42     /**
43      * Action definition id of the action to change the encoding into UTF-8.
44      * Value is <code>"org.eclipse.ui.edit.text.encoding.utf-8"</code>.
45      */

46     public static final String JavaDoc UTF_8= "org.eclipse.ui.edit.text.encoding.utf-8"; //$NON-NLS-1$
47

48     /**
49      * Action definition id of the action to change the encoding into UTF-16BE.
50      * Value is <code>"org.eclipse.ui.edit.text.encoding.utf-16be"</code>.
51      */

52     public static final String JavaDoc UTF_16BE= "org.eclipse.ui.edit.text.encoding.utf-16be"; //$NON-NLS-1$
53

54     /**
55      * Action definition id of the action to change the encoding into UTF-16LE.
56      * Value is <code>"org.eclipse.ui.edit.text.encoding.utf-16le"</code>.
57      */

58     public static final String JavaDoc UTF_16LE= "org.eclipse.ui.edit.text.encoding.utf-16le"; //$NON-NLS-1$
59

60     /**
61      * Action definition id of the action to change the encoding into UTF-16.
62      * Value is <code>"org.eclipse.ui.edit.text.encoding.utf-16"</code>.
63      */

64     public static final String JavaDoc UTF_16= "org.eclipse.ui.edit.text.encoding.utf-16"; //$NON-NLS-1$
65

66     /**
67      * Action definition id of the action to change the encoding into the system encoding.
68      * Value is <code>"org.eclipse.ui.edit.text.encoding.system"</code>.
69      */

70     public static final String JavaDoc SYSTEM= "org.eclipse.ui.edit.text.encoding.system"; //$NON-NLS-1$
71

72     /**
73      * Action definition id of the action to change the encoding into a custom encoding.
74      * Value is <code>"org.eclipse.ui.edit.text.encoding.custom"</code>.
75      */

76     public static final String JavaDoc CUSTOM= "org.eclipse.ui.edit.text.encoding.custom"; //$NON-NLS-1$
77
}
78
Popular Tags