KickJava   Java API By Example, From Geeks To Geeks.

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


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 EditorMessages extends NLS {
21
22     private static final String JavaDoc BUNDLE_FOR_CONSTRUCTED_KEYS= "org.eclipse.ui.texteditor.ConstructedEditorMessages";//$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= EditorMessages.class.getName();
36
37     private EditorMessages() {
38         // Do not instantiate
39
}
40
41     public static String JavaDoc Editor_error_no_provider;
42     public static String JavaDoc Editor_error_save_title;
43     public static String JavaDoc Editor_error_save_message;
44     public static String JavaDoc Editor_error_save_deleted_title;
45     public static String JavaDoc Editor_error_save_deleted_message;
46     public static String JavaDoc Editor_error_init;
47     public static String JavaDoc Editor_error_save_outofsync_title;
48     public static String JavaDoc Editor_error_save_outofsync_message;
49     public static String JavaDoc Editor_error_activated_outofsync_title;
50     public static String JavaDoc Editor_error_activated_outofsync_message;
51     public static String JavaDoc Editor_error_activated_deleted_save_title;
52     public static String JavaDoc Editor_error_activated_deleted_save_message;
53     public static String JavaDoc Editor_error_activated_deleted_save_button_save;
54     public static String JavaDoc Editor_error_activated_deleted_save_button_close;
55     public static String JavaDoc Editor_error_activated_deleted_close_title;
56     public static String JavaDoc Editor_error_activated_deleted_close_message;
57     public static String JavaDoc Editor_error_refresh_outofsync_title;
58     public static String JavaDoc Editor_error_refresh_outofsync_message;
59     public static String JavaDoc Editor_error_revert_title;
60     public static String JavaDoc Editor_error_revert_message;
61     public static String JavaDoc Editor_error_setinput_title;
62     public static String JavaDoc Editor_error_setinput_message;
63     public static String JavaDoc Editor_error_validateEdit_title;
64     public static String JavaDoc Editor_error_validateEdit_message;
65     public static String JavaDoc Editor_error_HyperlinkDetector_couldNotCreate_message;
66     public static String JavaDoc Editor_error_HyperlinkDetector_invalidElementName_message;
67     public static String JavaDoc Editor_error_HyperlinkDetector_invalidExtension_message;
68     public static String JavaDoc Editor_error_HyperlinkDetectorTarget_invalidElementName_message;
69     public static String JavaDoc Editor_error_HyperlinkDetectorTarget_invalidExtension_message;
70     public static String JavaDoc AbstractDocumentProvider_error_save_inuse;
71     public static String JavaDoc Editor_mark_status_message_mark_set;
72     public static String JavaDoc Editor_mark_status_message_mark_cleared;
73     public static String JavaDoc Editor_mark_status_message_mark_swapped;
74     public static String JavaDoc MarkRegionTarget_markNotSet;
75     public static String JavaDoc MarkRegionTarget_markNotVisible;
76     public static String JavaDoc Editor_FindIncremental_name;
77     public static String JavaDoc Editor_FindIncremental_reverse_name;
78     public static String JavaDoc Editor_FindIncremental_not_found_pattern;
79     public static String JavaDoc Editor_FindIncremental_found_pattern;
80     public static String JavaDoc Editor_FindIncremental_render_tab;
81     public static String JavaDoc Editor_FindIncremental_wrapped;
82     public static String JavaDoc Editor_FindIncremental_reverse;
83     public static String JavaDoc Editor_ConvertLineDelimiter_title;
84     public static String JavaDoc Editor_statusline_state_readonly_label;
85     public static String JavaDoc Editor_statusline_state_writable_label;
86     public static String JavaDoc Editor_statusline_mode_insert_label;
87     public static String JavaDoc Editor_statusline_mode_overwrite_label;
88     public static String JavaDoc Editor_statusline_mode_smartinsert_label;
89     public static String JavaDoc Editor_statusline_position_pattern;
90     public static String JavaDoc Editor_statusline_error_label;
91     public static String JavaDoc WorkbenchChainedTextFontFieldEditor_defaultWorkbenchTextFont;
92     public static String JavaDoc FindReplace_title;
93     public static String JavaDoc FindReplace_Find_label;
94     public static String JavaDoc FindReplace_Replace_label;
95     public static String JavaDoc FindReplace_Direction;
96     public static String JavaDoc FindReplace_ForwardRadioButton_label;
97     public static String JavaDoc FindReplace_BackwardRadioButton_label;
98     public static String JavaDoc FindReplace_Scope;
99     public static String JavaDoc FindReplace_GlobalRadioButton_label;
100     public static String JavaDoc FindReplace_SelectedRangeRadioButton_label;
101     public static String JavaDoc FindReplace_Options;
102     public static String JavaDoc FindReplace_CaseCheckBox_label;
103     public static String JavaDoc FindReplace_WrapCheckBox_label;
104     public static String JavaDoc FindReplace_WholeWordCheckBox_label;
105     public static String JavaDoc FindReplace_IncrementalCheckBox_label;
106     public static String JavaDoc FindReplace_RegExCheckbox_label;
107     public static String JavaDoc FindReplace_FindNextButton_label;
108     public static String JavaDoc FindReplace_ReplaceFindButton_label;
109     public static String JavaDoc FindReplace_ReplaceSelectionButton_label;
110     public static String JavaDoc FindReplace_ReplaceAllButton_label;
111     public static String JavaDoc FindReplace_CloseButton_label;
112     public static String JavaDoc FindReplace_Status_noMatch_label;
113     public static String JavaDoc FindReplace_Status_replacement_label;
114     public static String JavaDoc FindReplace_Status_replacements_label;
115     public static String JavaDoc FindNext_Status_noMatch_label;
116     public static String JavaDoc AbstractDocumentProvider_ok;
117     public static String JavaDoc AbstractDocumentProvider_error;
118     public static String JavaDoc FindReplaceDialog_read_only;
119     public static String JavaDoc Editor_MoveLines_IllegalMove_status;
120     public static String JavaDoc Editor_error_clipboard_copy_failed_message;
121
122     static {
123         NLS.initializeMessages(BUNDLE_NAME, EditorMessages.class);
124     }
125 }
Popular Tags