1 /*******************************************************************************
2 * Copyright (c) 2000, 2012 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
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.jdt.internal.ui.propertiesfileeditor;
13 import java.util.ResourceBundle;
15 import org.eclipse.osgi.util.NLS;
19 * Helper class to get NLSed messages.
23 final class PropertiesFileEditorMessages extends NLS {
25 private static final String BUNDLE_FOR_CONSTRUCTED_KEYS= "org.eclipse.jdt.internal.ui.propertiesfileeditor.ConstructedPropertiesFileEditorMessages";//$NON-NLS-1$
26 private static ResourceBundle fgBundleForConstructedKeys= ResourceBundle.getBundle(BUNDLE_FOR_CONSTRUCTED_KEYS);
29 * Returns the message bundle which contains constructed keys.
32 * @return the message bundle
34 public static ResourceBundle getBundleForConstructedKeys() {
35 return fgBundleForConstructedKeys;
38 private static final String BUNDLE_NAME= PropertiesFileEditorMessages.class.getName();
40 private PropertiesFileEditorMessages() {
44 public static String EscapeBackslashCompletionProposal_escapeBackslashes;
45 public static String EscapeBackslashCompletionProposal_escapeBackslashesInOriginalString;
46 public static String EscapeBackslashCompletionProposal_unescapeBackslashes;
47 public static String OpenAction_label;
48 public static String OpenAction_tooltip;
49 public static String OpenAction_error_title;
50 public static String OpenAction_error_message;
51 public static String OpenAction_error_messageArgs;
52 public static String OpenAction_error_messageProblems;
53 public static String OpenAction_error_messageErrorSearchingKey;
54 public static String OpenAction_error_messageNoResult;
55 public static String OpenAction_hyperlinkText;
56 public static String OpenAction_SelectionDialog_title;
57 public static String OpenAction_SelectionDialog_details;
58 public static String OpenAction_SelectionDialog_message;
59 public static String OpenAction_SelectionDialog_elementLabel;
60 public static String OpenAction_SelectionDialog_elementLabelWithMatchCount;
62 public static String PropertiesCorrectionProcessor_create_field_in_accessor_label;
63 public static String PropertiesCorrectionProcessor_create_fields_in_accessor_label;
64 public static String PropertiesCorrectionProcessor_remove_properties_label;
65 public static String PropertiesCorrectionProcessor_remove_property_label;
66 public static String PropertiesCorrectionProcessor_error_quickassist_message;
67 public static String PropertiesCorrectionProcessor_NoCorrectionProposal_description;
68 public static String PropertiesCorrectionProcessor_rename_in_workspace;
69 public static String PropertiesCorrectionProcessor_rename_in_workspace_description;
70 public static String PropertiesFileAutoEditStrategy_showQuickAssist;
71 public static String PropertiesFileEditor_find_accessor_type;
72 public static String PropertiesFileHover_MalformedEncoding;
75 NLS.initializeMessages(BUNDLE_NAME, PropertiesFileEditorMessages.class);