| /******************************************************************************* |
| * Copyright (c) 2000, 2008 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; |
| |
| |
| /** |
| * Defines the names of the encoding actions. |
| * <p> |
| * This interface contains constants only; it is not intended to be implemented. |
| * </p> |
| * |
| * @since 2.0 |
| * @deprecated As of 3.1, encoding needs to be changed via properties dialog. This interface is |
| * planned for removal after March 2021 (see bug#544309 for details). |
| * @noimplement This interface is not intended to be implemented by clients. |
| * @noextend This interface is not intended to be extended by clients. |
| * |
| */ |
| @Deprecated(forRemoval= true) |
| public interface IEncodingActionsConstants { |
| |
| /** |
| * Name of the action to change the encoding into default. |
| * Value is <code>"default"</code>. |
| * @since 3.0 |
| */ |
| static final String DEFAULT= "default"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into US ASCII. |
| * Value is <code>"US-ASCII"</code>. |
| */ |
| static final String US_ASCII= "US-ASCII"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into ISO-8859-1. |
| * Value is <code>"ISO-8859-1"</code>. |
| */ |
| static final String ISO_8859_1= "ISO-8859-1"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into UTF-8. |
| * Value is <code>"UTF-8"</code>. |
| */ |
| static final String UTF_8= "UTF-8"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into UTF-16BE. |
| * Value is <code>"UTF-16BE"</code>. |
| */ |
| static final String UTF_16BE= "UTF-16BE"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into UTF-16LE. |
| * Value is <code>"UTF-16LE"</code>. |
| */ |
| static final String UTF_16LE= "UTF-16LE"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into UTF-16. |
| * Value is <code>"UTF-16"</code>. |
| */ |
| static final String UTF_16= "UTF-16"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into the system encoding. |
| * Value is <code>"System"</code>. |
| */ |
| static final String SYSTEM= "System"; //$NON-NLS-1$ |
| |
| /** |
| * Name of the action to change the encoding into a custom encoding. |
| * Value is <code>"Custom"</code>. |
| */ |
| static final String CUSTOM= "Custom"; //$NON-NLS-1$ |
| } |