KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > texteditor > TextEditorMessages


1 /*******************************************************************************
2  * Copyright (c) 2000, 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.ui.texteditor;
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 final class TextEditorMessages extends NLS {
21
22     private static final String JavaDoc BUNDLE_FOR_CONSTRUCTED_KEYS= "org.eclipse.ui.texteditor.ConstructedTextEditorMessages"; //$NON-NLS-1$
23
private static ResourceBundle JavaDoc fgBundleForConstructedKeys= ResourceBundle.getBundle(BUNDLE_FOR_CONSTRUCTED_KEYS);
24
25     /**
26      * Returns the message bundle which contains constructed keys.
27      *
28      * @since 3.1
29      * @return the message bundle
30      */

31     public static ResourceBundle JavaDoc getBundleForConstructedKeys() {
32         return fgBundleForConstructedKeys;
33     }
34
35     private static final String JavaDoc BUNDLE_NAME= TextEditorMessages.class.getName();
36
37     private TextEditorMessages() {
38         // Do not instantiate
39
}
40
41     public static String JavaDoc AbstractDecoratedTextEditor_revisions_menu;
42     public static String JavaDoc AbstractDecoratedTextEditor_revision_colors_option_by_author;
43     public static String JavaDoc AbstractDecoratedTextEditor_revision_colors_option_by_author_and_date;
44     public static String JavaDoc AbstractDecoratedTextEditor_revision_colors_option_by_date;
45     public static String JavaDoc AbstractDecoratedTextEditor_show_ruler_label;
46     public static String JavaDoc SelectMarkerRulerAction_getMarker;
47     public static String JavaDoc AddMarkerAction_addMarker;
48     public static String JavaDoc MarkerRulerAction_addMarker;
49     public static String JavaDoc MarkerRulerAction_getMarker;
50     public static String JavaDoc MarkerRulerAction_removeMarkers;
51     public static String JavaDoc AbstractMarkerAnnotationModel_connected;
52     public static String JavaDoc AbstractMarkerAnnotationModel_createMarkerUpdater;
53     public static String JavaDoc AbstractMarkerAnnotationModel_removeAnnotations;
54     public static String JavaDoc DocumentProviderRegistry_error_extension_point_not_found;
55     public static String JavaDoc ChangeEncodingAction_message_noEncodingSupport;
56     public static String JavaDoc ChangeEncodingAction_button_apply_label;
57
58     public static String JavaDoc AbstractDecoratedTextEditor_revision_quickdiff_switch_title;
59     public static String JavaDoc AbstractDecoratedTextEditor_revision_quickdiff_switch_message;
60     public static String JavaDoc AbstractDecoratedTextEditor_revision_quickdiff_switch_rememberquestion;
61     public static String JavaDoc AbstractDecoratedTextEditor_warning_saveAs_deleted;
62     public static String JavaDoc AbstractDecoratedTextEditor_error_saveAs_title;
63     public static String JavaDoc AbstractDecoratedTextEditor_error_saveAs_message;
64     public static String JavaDoc AbstractDecoratedTextEditor_saveAs_overwrite_title;
65     public static String JavaDoc AbstractDecoratedTextEditor_saveAs_overwrite_message;
66     public static String JavaDoc AbstractDecoratedTextEditor_warning_derived_title;
67     public static String JavaDoc AbstractDecoratedTextEditor_warning_derived_message;
68     public static String JavaDoc AbstractDecoratedTextEditor_warning_derived_dontShowAgain;
69     
70     public static String JavaDoc AbstractDecoratedTextEditor_showIn_menu;
71     
72     
73     static {
74         NLS.initializeMessages(BUNDLE_NAME, TextEditorMessages.class);
75     }
76
77 }
78
Popular Tags