KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > runtime > auth > 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.auth;
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.auth.messages"; //$NON-NLS-1$
17

18     public static String JavaDoc meta_authFormatChanged;
19     public static String JavaDoc meta_keyringFileAlreadySpecified;
20     public static String JavaDoc meta_unableToReadAuthorization;
21     public static String JavaDoc meta_unableToWriteAuthorization;
22
23     static {
24         // load message values from bundle file
25
reloadMessages();
26     }
27
28     public static void reloadMessages() {
29         NLS.initializeMessages(BUNDLE_NAME, Messages.class);
30     }
31 }
Popular Tags