blob: 849899188a85f33ec00e8a8c976c50fad47d90c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
/*******************************************************************************
* Copyright (c) 2011, 2013 Wind River Systems, Inc. and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wind River Systems - initial API and implementation
* Max Weninger (Wind River) - [361363] [TERMINALS] Implement "Pin&Clone" for the "Terminals" view
*******************************************************************************/
package org.eclipse.tcf.te.ui.terminals.nls;
import java.lang.reflect.Field;
import org.eclipse.osgi.util.NLS;
/**
* Terminals plug-in externalized strings management.
*/
public class Messages extends NLS {
// The plug-in resource bundle name
private static final String BUNDLE_NAME = "org.eclipse.tcf.te.ui.terminals.nls.Messages"; //$NON-NLS-1$
/**
* Static constructor.
*/
static {
// Load message values from bundle file
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
/**
* Returns the corresponding string for the given externalized strings
* key or <code>null</code> if the key does not exist.
*
* @param key The externalized strings key or <code>null</code>.
* @return The corresponding string or <code>null</code>.
*/
public static String getString(String key) {
if (key != null) {
try {
Field field = Messages.class.getDeclaredField(key);
return (String)field.get(null);
} catch (Exception e) { /* ignored on purpose */ }
}
return null;
}
// **** Declare externalized string id's down here *****
public static String AbstractAction_error_commandExecutionFailed;
public static String AbstractConfigurationPanel_delete;
public static String AbstractConfigurationPanel_deleteButtonTooltip;
public static String AbstractConfigurationPanel_hosts;
public static String AbstractConfigurationPanel_encoding;
public static String AbstractConfigurationPanel_encoding_custom;
public static String AbstractConfigurationPanel_encoding_custom_title;
public static String AbstractConfigurationPanel_encoding_custom_message;
public static String AbstractConfigurationPanel_encoding_custom_error;
public static String TabTerminalListener_consoleClosed;
public static String TabTerminalListener_consoleConnecting;
public static String PinTerminalAction_menu;
public static String PinTerminalAction_toolTip;
public static String ToggleCommandFieldAction_menu;
public static String ToggleCommandFieldAction_toolTip;
public static String SelectEncodingAction_menu;
public static String SelectEncodingAction_tooltip;
public static String ProcessSettingsPage_dialogTitle;
public static String ProcessSettingsPage_processImagePathSelectorControl_label;
public static String ProcessSettingsPage_processImagePathSelectorControl_button;
public static String ProcessSettingsPage_processArgumentsControl_label;
public static String ProcessSettingsPage_localEchoSelectorControl_label;
public static String OutputStreamMonitor_error_readingFromStream;
public static String InputStreamMonitor_error_writingToStream;
public static String TerminalService_error_cannotCreateConnector;
public static String TerminalService_defaultTitle;
public static String LaunchTerminalSettingsDialog_title;
public static String LaunchTerminalSettingsDialog_combo_label;
public static String LaunchTerminalSettingsDialog_group_label;
public static String TabScrollLockAction_text;
public static String TabScrollLockAction_tooltip;
public static String LaunchTerminalSettingsDialog_error_title;
public static String LaunchTerminalSettingsDialog_error_invalidSettings;
public static String LaunchTerminalSettingsDialog_error_unknownReason;
public static String EncodingSelectionDialog_title;
public static String TabFolderManager_encoding;
public static String TabFolderManager_state_connected;
public static String TabFolderManager_state_connecting;
public static String TabFolderManager_state_closed;
}
|