KickJava   Java API By Example, From Geeks To Geeks.

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


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 names of 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  */

23 public interface IEncodingActionsConstants {
24
25     /**
26      * Name of the action to change the encoding into default.
27      * Value is <code>"default"</code>.
28      * @since 3.0
29      */

30     static final String JavaDoc DEFAULT= "default"; //$NON-NLS-1$
31

32     /**
33      * Name of the action to change the encoding into US ASCII.
34      * Value is <code>"US-ASCII"</code>.
35      */

36     static final String JavaDoc US_ASCII= "US-ASCII"; //$NON-NLS-1$
37

38     /**
39      * Name of the action to change the encoding into ISO-8859-1.
40      * Value is <code>"ISO-8859-1"</code>.
41      */

42     static final String JavaDoc ISO_8859_1= "ISO-8859-1"; //$NON-NLS-1$
43

44     /**
45      * Name of the action to change the encoding into UTF-8.
46      * Value is <code>"UTF-8"</code>.
47      */

48     static final String JavaDoc UTF_8= "UTF-8"; //$NON-NLS-1$
49

50     /**
51      * Name of the action to change the encoding into UTF-16BE.
52      * Value is <code>"UTF-16BE"</code>.
53      */

54     static final String JavaDoc UTF_16BE= "UTF-16BE"; //$NON-NLS-1$
55

56     /**
57      * Name of the action to change the encoding into UTF-16LE.
58      * Value is <code>"UTF-16LE"</code>.
59      */

60     static final String JavaDoc UTF_16LE= "UTF-16LE"; //$NON-NLS-1$
61

62     /**
63      * Name of the action to change the encoding into UTF-16.
64      * Value is <code>"UTF-16"</code>.
65      */

66     static final String JavaDoc UTF_16= "UTF-16"; //$NON-NLS-1$
67

68     /**
69      * Name of the action to change the encoding into the system encoding.
70      * Value is <code>"System"</code>.
71      */

72     static final String JavaDoc SYSTEM= "System"; //$NON-NLS-1$
73

74     /**
75      * Name of the action to change the encoding into a custom encoding.
76      * Value is <code>"Custom"</code>.
77      */

78     static final String JavaDoc CUSTOM= "Custom"; //$NON-NLS-1$
79
}
80
Popular Tags