KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > equinox > internal > app > Messages


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 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 Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.equinox.internal.app;
12
13 import org.eclipse.osgi.util.NLS;
14
15 public class Messages extends NLS {
16     private static final String JavaDoc MESSAGES_NAME = "org.eclipse.equinox.internal.app.messages"; //$NON-NLS-1$
17

18     // application
19
public static String JavaDoc application_invalidExtension;
20     public static String JavaDoc application_noIdFound;
21     public static String JavaDoc application_notFound;
22     public static String JavaDoc application_returned;
23     public static String JavaDoc application_errorStartDefault;
24     public static String JavaDoc application_error_stopping;
25     public static String JavaDoc application_error_state_stopped;
26     public static String JavaDoc application_error_starting;
27
28     // product
29
public static String JavaDoc provider_invalid;
30     public static String JavaDoc provider_invalid_general;
31     public static String JavaDoc product_notFound;
32
33     // scheduled
34
public static String JavaDoc scheduled_app_removed;
35     public static String JavaDoc scheduled_app_launch_error;
36
37     // persistence
38
public static String JavaDoc persistence_error_saving;
39
40     // singletons
41
public static String JavaDoc singleton_running;
42     public static String JavaDoc apps_running;
43     public static String JavaDoc main_running;
44     public static String JavaDoc max_running;
45
46     static {
47         // load message values from bundle file
48
reloadMessages();
49     }
50
51     public static void reloadMessages() {
52         NLS.initializeMessages(MESSAGES_NAME, Messages.class);
53     }
54
55 }
56
Popular Tags