~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/InternalDebugCoreMessages.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2013-10-03 20:30:16 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131003203016-d4ug6l0xgosasumq
Tags: 8.2.1-1
* New upstream release.
* Updated autotools documentation sources.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * http://www.eclipse.org/legal/epl-v10.html
7
7
 *
8
8
 * Contributors:
9
 
 * QNX Software Systems - Initial API and implementation
 
9
 *     QNX Software Systems - Initial API and implementation
 
10
 *     Sergey Prigogin (Google)
10
11
 *******************************************************************************/
11
12
package org.eclipse.cdt.debug.internal.core;
12
13
 
13
 
import java.util.MissingResourceException;
14
 
import java.util.ResourceBundle;
15
 
 
16
 
public class InternalDebugCoreMessages {
17
 
 
18
 
        private static final String BUNDLE_NAME = "org.eclipse.cdt.debug.internal.core.InternalDebugCoreMessages";//$NON-NLS-1$
19
 
 
20
 
        private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
 
14
import org.eclipse.core.internal.variables.VariablesMessages;
 
15
import org.eclipse.osgi.util.NLS;
 
16
 
 
17
public class InternalDebugCoreMessages extends NLS {
 
18
        public static String CGlobalVariableManager_0;
 
19
        public static String CMemoryBlockRetrievalExtension_0;
 
20
        public static String CMemoryBlockRetrievalExtension_1;
 
21
        public static String CMemoryBlockRetrievalExtension_2;
 
22
        public static String CMemoryBlockRetrievalExtension_3;
 
23
        public static String CMemoryBlockRetrievalExtension_4;
 
24
        public static String CMemoryBlockRetrievalExtension_invalid_encoded_address;
 
25
        public static String CMemoryBlockRetrievalExtension_CDebugTarget_not_available;
 
26
        public static String DebugConfiguration_0;
 
27
        public static String CDebugAdapter_0;
 
28
        public static String CDebugAdapter_1;
 
29
        public static String CDebugAdapter_Program_file_not_specified;
 
30
        public static String CRegisterManager_0;
 
31
        public static String CRegisterManager_1;
 
32
        public static String StringSubstitutionEngine_undefined_variable;
 
33
        public static String StringSubstitutionEngine_unexpected_argument;
21
34
 
22
35
        private InternalDebugCoreMessages() {
23
36
        }
24
37
 
25
 
        public static String getString( String key ) {
26
 
                try {
27
 
                        return RESOURCE_BUNDLE.getString( key );
28
 
                }
29
 
                catch( MissingResourceException e ) {
30
 
                        return '!' + key + '!';
31
 
                }
 
38
        static {
 
39
                // Load message values from a bundle file.
 
40
                NLS.initializeMessages(InternalDebugCoreMessages.class.getName(), VariablesMessages.class);
32
41
        }
 
42
 
33
43
}