KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > registry > RegistryMessages


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM - Initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.core.internal.registry;
12
13 import org.eclipse.osgi.util.NLS;
14
15 // Runtime plugin message catalog
16
public class RegistryMessages extends NLS {
17     /**
18      * The unique identifier constant of this plug-in.
19      */

20     public static final String JavaDoc OWNER_NAME = "org.eclipse.equinox.registry"; //$NON-NLS-1$
21

22     private static final String JavaDoc BUNDLE_NAME = "org.eclipse.core.internal.registry.messages"; //$NON-NLS-1$
23

24     // Bundle
25
public static String JavaDoc bundle_not_activated;
26
27     // Extension Registry
28
public static String JavaDoc meta_registryCacheWriteProblems;
29     public static String JavaDoc meta_registryCacheReadProblems;
30     public static String JavaDoc meta_regCacheIOExceptionReading;
31     public static String JavaDoc meta_registryCacheInconsistent;
32     public static String JavaDoc meta_unableToCreateCache;
33     public static String JavaDoc meta_unableToReadCache;
34     public static String JavaDoc registry_no_default;
35     public static String JavaDoc registry_default_exists;
36     public static String JavaDoc registry_bad_cache;
37
38     // parsing/resolve
39
public static String JavaDoc parse_error;
40     public static String JavaDoc parse_errorNameLineColumn;
41     public static String JavaDoc parse_internalStack;
42     public static String JavaDoc parse_missingAttribute;
43     public static String JavaDoc parse_missingAttributeLine;
44     public static String JavaDoc parse_unknownAttribute;
45     public static String JavaDoc parse_unknownAttributeLine;
46     public static String JavaDoc parse_unknownElement;
47     public static String JavaDoc parse_unknownElementLine;
48     public static String JavaDoc parse_unknownTopElement;
49     public static String JavaDoc parse_xmlParserNotAvailable;
50     public static String JavaDoc parse_process;
51     public static String JavaDoc parse_failedParsingManifest;
52     public static String JavaDoc parse_nonSingleton;
53     public static String JavaDoc parse_problems;
54     public static String JavaDoc parse_duplicateExtension;
55     public static String JavaDoc parse_duplicateExtensionPoint;
56
57     // direct creation
58
public static String JavaDoc create_failedExtensionPoint;
59
60     // executable extensions
61
public static String JavaDoc exExt_findClassError;
62     public static String JavaDoc exExt_instantiateClassError;
63     public static String JavaDoc exExt_initObjectError;
64     public static String JavaDoc exExt_extDefNotFound;
65
66     // plugins
67
public static String JavaDoc plugin_eventListenerError;
68     public static String JavaDoc plugin_initObjectError;
69     public static String JavaDoc plugin_instantiateClassError;
70     public static String JavaDoc plugin_loadClassError;
71
72     // logging
73
public static String JavaDoc log_error;
74     public static String JavaDoc log_warning;
75     public static String JavaDoc log_log;
76
77     static {
78         // load message values from bundle file
79
reloadMessages();
80     }
81
82     public static void reloadMessages() {
83         NLS.initializeMessages(BUNDLE_NAME, RegistryMessages.class);
84     }
85 }
86
Popular Tags