mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
[api] [163820] Allow encodings to be queried for IRemoteFile and implementations for encodings through a remote file encoding manager.
This commit is contained in:
parent
36a73519f3
commit
c47a69d198
3 changed files with 14 additions and 1 deletions
|
@ -161,6 +161,13 @@ public class SystemFileResources extends NLS
|
|||
public static String RESID_PP_FILE_WRITABLE_TOOLTIP;
|
||||
public static String RESID_PP_FILE_HIDDEN_TOOLTIP;
|
||||
|
||||
public static String RESID_PP_FILE_ENCODING_GROUP_LABEL;
|
||||
public static String RESID_PP_FILE_ENCODING_DEFAULT_LABEL;
|
||||
public static String RESID_PP_FILE_ENCODING_DEFAULT_TOOLTIP;
|
||||
public static String RESID_PP_FILE_ENCODING_OTHER_LABEL;
|
||||
public static String RESID_PP_FILE_ENCODING_OTHER_TOOLTIP;
|
||||
public static String RESID_PP_FILE_ENCODING_ENTER_TOOLTIP;
|
||||
|
||||
// -------------------------------
|
||||
// Enter or select file form
|
||||
// -------------------------------
|
||||
|
|
|
@ -201,7 +201,12 @@ RESID_PP_FILE_WRITABLE_TOOLTIP=Is writing of this file or folder permitted
|
|||
RESID_PP_FILE_HIDDEN_LABEL=Hidden
|
||||
RESID_PP_FILE_HIDDEN_TOOLTIP=Is this file or folder typically hidden from lists
|
||||
|
||||
|
||||
RESID_PP_FILE_ENCODING_GROUP_LABEL=File encoding
|
||||
RESID_PP_FILE_ENCODING_DEFAULT_LABEL=Default (%1)
|
||||
RESID_PP_FILE_ENCODING_DEFAULT_TOOLTIP=The default encoding of the platform
|
||||
RESID_PP_FILE_ENCODING_OTHER_LABEL=Other:
|
||||
RESID_PP_FILE_ENCODING_OTHER_TOOLTIP=Specify a different encoding
|
||||
RESID_PP_FILE_ENCODING_ENTER_TOOLTIP=Select or enter an encoding
|
||||
|
||||
#=============================================================
|
||||
# RE-USABLE COMPOSITE FILE SYSTEM WIDGETS
|
||||
|
|
|
@ -291,6 +291,7 @@ public interface IRemoteFile extends IRemoteContainer, IRemotePropertyHolder, IS
|
|||
/**
|
||||
* Returns the encoding of the remote file.
|
||||
* @return the encoding of the remote file.
|
||||
* @since 2.0
|
||||
*/
|
||||
public String getEncoding();
|
||||
}
|
Loading…
Add table
Reference in a new issue