KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > propertiesfileeditor > PropertiesFileEditorMessages


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.jdt.internal.ui.propertiesfileeditor;
12
13 import java.util.ResourceBundle JavaDoc;
14
15 import org.eclipse.osgi.util.NLS;
16
17 /**
18  * Helper class to get NLSed messages.
19  *
20  * @since 3.1
21  */

22 final class PropertiesFileEditorMessages extends NLS {
23
24     private static final String JavaDoc BUNDLE_FOR_CONSTRUCTED_KEYS= "org.eclipse.jdt.internal.ui.propertiesfileeditor.ConstructedPropertiesFileEditorMessages";//$NON-NLS-1$
25
private static ResourceBundle JavaDoc fgBundleForConstructedKeys= ResourceBundle.getBundle(BUNDLE_FOR_CONSTRUCTED_KEYS);
26
27     /**
28      * Returns the message bundle which contains constructed keys.
29      *
30      * @since 3.1
31      * @return the message bundle
32      */

33     public static ResourceBundle JavaDoc getBundleForConstructedKeys() {
34         return fgBundleForConstructedKeys;
35     }
36
37     private static final String JavaDoc BUNDLE_NAME= PropertiesFileEditorMessages.class.getName();
38
39     private PropertiesFileEditorMessages() {
40         // Do not instantiate
41
}
42
43     public static String JavaDoc OpenAction_label;
44     public static String JavaDoc OpenAction_tooltip;
45     public static String JavaDoc OpenAction_select_element;
46     public static String JavaDoc OpenAction_error_title;
47     public static String JavaDoc OpenAction_error_message;
48     public static String JavaDoc OpenAction_error_messageArgs;
49     public static String JavaDoc OpenAction_error_messageProblems;
50     public static String JavaDoc OpenAction_error_messageBadSelection;
51     public static String JavaDoc OpenAction_error_messageErrorResolvingSelection;
52     public static String JavaDoc OpenAction_error_messageErrorSearchingKey;
53     public static String JavaDoc OpenAction_error_messageNoResult;
54     public static String JavaDoc OpenAction_SelectionDialog_title;
55     public static String JavaDoc OpenAction_SelectionDialog_details;
56     public static String JavaDoc OpenAction_SelectionDialog_message;
57     public static String JavaDoc OpenAction_SelectionDialog_elementLabel;
58     public static String JavaDoc OpenAction_SelectionDialog_elementLabelWithMatchCount;
59
60     static {
61         NLS.initializeMessages(BUNDLE_NAME, PropertiesFileEditorMessages.class);
62     }
63 }
Popular Tags