01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 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: /**
13: * Defines the names of the encoding actions.
14: * <p>
15: * This interface contains constants only; it is not intended to be implemented.</p>
16: *
17: * @since 2.0
18: * @deprecated As of 3.1, encoding needs to be changed via properties dialog
19: *
20: */
21: public interface IEncodingActionsConstants {
22:
23: /**
24: * Name of the action to change the encoding into default.
25: * Value is <code>"default"</code>.
26: * @since 3.0
27: */
28: static final String DEFAULT = "default"; //$NON-NLS-1$
29:
30: /**
31: * Name of the action to change the encoding into US ASCII.
32: * Value is <code>"US-ASCII"</code>.
33: */
34: static final String US_ASCII = "US-ASCII"; //$NON-NLS-1$
35:
36: /**
37: * Name of the action to change the encoding into ISO-8859-1.
38: * Value is <code>"ISO-8859-1"</code>.
39: */
40: static final String ISO_8859_1 = "ISO-8859-1"; //$NON-NLS-1$
41:
42: /**
43: * Name of the action to change the encoding into UTF-8.
44: * Value is <code>"UTF-8"</code>.
45: */
46: static final String UTF_8 = "UTF-8"; //$NON-NLS-1$
47:
48: /**
49: * Name of the action to change the encoding into UTF-16BE.
50: * Value is <code>"UTF-16BE"</code>.
51: */
52: static final String UTF_16BE = "UTF-16BE"; //$NON-NLS-1$
53:
54: /**
55: * Name of the action to change the encoding into UTF-16LE.
56: * Value is <code>"UTF-16LE"</code>.
57: */
58: static final String UTF_16LE = "UTF-16LE"; //$NON-NLS-1$
59:
60: /**
61: * Name of the action to change the encoding into UTF-16.
62: * Value is <code>"UTF-16"</code>.
63: */
64: static final String UTF_16 = "UTF-16"; //$NON-NLS-1$
65:
66: /**
67: * Name of the action to change the encoding into the system encoding.
68: * Value is <code>"System"</code>.
69: */
70: static final String SYSTEM = "System"; //$NON-NLS-1$
71:
72: /**
73: * Name of the action to change the encoding into a custom encoding.
74: * Value is <code>"Custom"</code>.
75: */
76: static final String CUSTOM = "Custom"; //$NON-NLS-1$
77: }
|