KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > runtime > Messages


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

10 package org.eclipse.core.internal.runtime;
11
12 import org.eclipse.osgi.util.NLS;
13
14 // Runtime plugin message catalog
15
public class Messages extends NLS {
16     private static final String JavaDoc BUNDLE_NAME = "org.eclipse.core.internal.runtime.messages"; //$NON-NLS-1$
17

18     // Adapter manager
19
public static String JavaDoc adapters_badAdapterFactory;
20
21     // authorization
22
public static String JavaDoc auth_notAvailable;
23
24     // line separator platforms
25
public static String JavaDoc line_separator_platform_mac_os_9;
26     public static String JavaDoc line_separator_platform_unix;
27     public static String JavaDoc line_separator_platform_windows;
28
29     // metadata
30
public static String JavaDoc meta_appNotInit;
31     public static String JavaDoc meta_exceptionParsingLog;
32     // parsing/resolve
33
public static String JavaDoc plugin_deactivatedLoad;
34
35     // plugins
36
public static String JavaDoc plugin_shutdownProblems;
37     public static String JavaDoc plugin_startupProblems;
38
39     // Preferences
40
public static String JavaDoc preferences_saveProblems;
41
42     // Product
43
public static String JavaDoc product_notFound;
44     public static String JavaDoc provider_invalid;
45     public static String JavaDoc provider_invalid_general;
46
47     // Compatibility - parsing/resolve
48
public static String JavaDoc parse_badPrereqOnFrag;
49     public static String JavaDoc parse_duplicateFragment;
50     public static String JavaDoc parse_duplicateLib;
51     public static String JavaDoc parse_internalStack;
52     public static String JavaDoc parse_unknownElement;
53     public static String JavaDoc parse_unknownTopElement;
54     public static String JavaDoc parse_unknownAttribute;
55     public static String JavaDoc parse_error;
56     public static String JavaDoc parse_errorProcessing;
57     public static String JavaDoc parse_errorNameLineColumn;
58     public static String JavaDoc parse_validExport;
59     public static String JavaDoc parse_validMatch;
60     public static String JavaDoc parse_unknownLibraryType;
61     public static String JavaDoc parse_nullFragmentIdentifier;
62     public static String JavaDoc parse_nullPluginIdentifier;
63     public static String JavaDoc parse_duplicatePlugin;
64     public static String JavaDoc parse_unknownEntry;
65     public static String JavaDoc parse_missingPluginId;
66     public static String JavaDoc parse_missingPluginName;
67     public static String JavaDoc parse_missingFPName;
68     public static String JavaDoc parse_missingFPVersion;
69     public static String JavaDoc parse_missingPluginVersion;
70     public static String JavaDoc parse_fragmentMissingAttr;
71     public static String JavaDoc parse_pluginMissingAttr;
72     public static String JavaDoc parse_pluginMissingIdName;
73     public static String JavaDoc parse_fragmentMissingIdName;
74     public static String JavaDoc parse_missingFragmentPd;
75     public static String JavaDoc parse_extPointDisabled;
76     public static String JavaDoc parse_extPointUnknown;
77     public static String JavaDoc parse_unsatisfiedOptPrereq;
78     public static String JavaDoc parse_unsatisfiedPrereq;
79     public static String JavaDoc parse_prereqDisabled;
80     public static String JavaDoc parse_prereqLoop;
81     public static String JavaDoc parse_prereqOptLoop;
82
83     // Compatibility - plugins
84
public static String JavaDoc plugin_notPluginClass;
85     public static String JavaDoc plugin_unableToResolve;
86     public static String JavaDoc plugin_pluginDisabled;
87     public static String JavaDoc plugin_instantiateClassError;
88     public static String JavaDoc plugin_loadClassError;
89
90     static {
91         // load message values from bundle file
92
reloadMessages();
93     }
94
95     public static void reloadMessages() {
96         NLS.initializeMessages(BUNDLE_NAME, Messages.class);
97     }
98 }
Popular Tags