KickJava   Java API By Example, From Geeks To Geeks.

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


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 // Common runtime plugin message catalog
15
public class CommonMessages extends NLS {
16     private static final String JavaDoc BUNDLE_NAME = "org.eclipse.core.internal.runtime.commonMessages"; //$NON-NLS-1$
17

18     public static String JavaDoc ok;
19
20     // metadata
21
public static String JavaDoc meta_couldNotCreate;
22     public static String JavaDoc meta_instanceDataUnspecified;
23     public static String JavaDoc meta_noDataModeSpecified;
24     public static String JavaDoc meta_notDir;
25     public static String JavaDoc meta_readonly;
26     public static String JavaDoc meta_pluginProblems;
27
28     // URL
29
public static String JavaDoc url_badVariant;
30     public static String JavaDoc url_createConnection;
31     public static String JavaDoc url_invalidURL;
32     public static String JavaDoc url_noaccess;
33     public static String JavaDoc url_noOutput;
34     public static String JavaDoc url_resolveFragment;
35     public static String JavaDoc url_resolvePlugin;
36
37     // parsing/resolve
38
public static String JavaDoc parse_doubleSeparatorVersion;
39     public static String JavaDoc parse_emptyPluginVersion;
40     public static String JavaDoc parse_fourElementPluginVersion;
41     public static String JavaDoc parse_numericMajorComponent;
42     public static String JavaDoc parse_numericMinorComponent;
43     public static String JavaDoc parse_numericServiceComponent;
44     public static String JavaDoc parse_oneElementPluginVersion;
45
46     public static String JavaDoc parse_postiveMajor;
47     public static String JavaDoc parse_postiveMinor;
48     public static String JavaDoc parse_postiveService;
49     public static String JavaDoc parse_separatorEndVersion;
50     public static String JavaDoc parse_separatorStartVersion;
51
52     public static String JavaDoc activator_not_available;
53     
54     static {
55         // load message values from bundle file
56
reloadMessages();
57     }
58
59     public static void reloadMessages() {
60         NLS.initializeMessages(BUNDLE_NAME, CommonMessages.class);
61     }
62 }
Popular Tags