001: /*******************************************************************************
002: * Copyright (c) 2000, 2007 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.ui.texteditor;
011:
012: import java.util.ResourceBundle;
013:
014: import org.eclipse.osgi.util.NLS;
015:
016: /**
017: * Helper class to get NLSed messages.
018: */
019: final class EditorMessages extends NLS {
020:
021: private static final String BUNDLE_FOR_CONSTRUCTED_KEYS = "org.eclipse.ui.texteditor.ConstructedEditorMessages";//$NON-NLS-1$
022: private static ResourceBundle fgBundleForConstructedKeys = ResourceBundle
023: .getBundle(BUNDLE_FOR_CONSTRUCTED_KEYS);
024:
025: /**
026: * Returns the message bundle which contains constructed keys.
027: *
028: * @since 3.1
029: * @return the message bundle
030: */
031: public static ResourceBundle getBundleForConstructedKeys() {
032: return fgBundleForConstructedKeys;
033: }
034:
035: private static final String BUNDLE_NAME = EditorMessages.class
036: .getName();
037:
038: private EditorMessages() {
039: // Do not instantiate
040: }
041:
042: public static String Editor_error_no_provider;
043: public static String Editor_error_save_title;
044: public static String Editor_error_save_message;
045: public static String Editor_error_save_deleted_title;
046: public static String Editor_error_save_deleted_message;
047: public static String Editor_error_init;
048: public static String Editor_error_save_outofsync_title;
049: public static String Editor_error_save_outofsync_message;
050: public static String Editor_error_activated_outofsync_title;
051: public static String Editor_error_activated_outofsync_message;
052: public static String Editor_error_activated_deleted_save_title;
053: public static String Editor_error_activated_deleted_save_message;
054: public static String Editor_error_activated_deleted_save_button_save;
055: public static String Editor_error_activated_deleted_save_button_close;
056: public static String Editor_error_activated_deleted_close_title;
057: public static String Editor_error_activated_deleted_close_message;
058: public static String Editor_error_refresh_outofsync_title;
059: public static String Editor_error_refresh_outofsync_message;
060: public static String Editor_error_revert_title;
061: public static String Editor_error_revert_message;
062: public static String Editor_error_setinput_title;
063: public static String Editor_error_setinput_message;
064: public static String Editor_error_validateEdit_title;
065: public static String Editor_error_validateEdit_message;
066: public static String Editor_error_HyperlinkDetector_couldNotCreate_message;
067: public static String Editor_error_HyperlinkDetector_invalidElementName_message;
068: public static String Editor_error_HyperlinkDetector_invalidExtension_message;
069: public static String Editor_error_HyperlinkDetectorTarget_invalidElementName_message;
070: public static String Editor_error_HyperlinkDetectorTarget_invalidExtension_message;
071: public static String AbstractDocumentProvider_error_save_inuse;
072: public static String Editor_mark_status_message_mark_set;
073: public static String Editor_mark_status_message_mark_cleared;
074: public static String Editor_mark_status_message_mark_swapped;
075: public static String MarkRegionTarget_markNotSet;
076: public static String MarkRegionTarget_markNotVisible;
077: public static String Editor_FindIncremental_name;
078: public static String Editor_FindIncremental_reverse_name;
079: public static String Editor_FindIncremental_not_found_pattern;
080: public static String Editor_FindIncremental_found_pattern;
081: public static String Editor_FindIncremental_render_tab;
082: public static String Editor_FindIncremental_wrapped;
083: public static String Editor_FindIncremental_reverse;
084: public static String Editor_ConvertLineDelimiter_title;
085: public static String Editor_statusline_state_readonly_label;
086: public static String Editor_statusline_state_writable_label;
087: public static String Editor_statusline_mode_insert_label;
088: public static String Editor_statusline_mode_overwrite_label;
089: public static String Editor_statusline_mode_smartinsert_label;
090: public static String Editor_statusline_position_pattern;
091: public static String Editor_statusline_error_label;
092: public static String WorkbenchChainedTextFontFieldEditor_defaultWorkbenchTextFont;
093: public static String FindReplace_title;
094: public static String FindReplace_Find_label;
095: public static String FindReplace_Replace_label;
096: public static String FindReplace_Direction;
097: public static String FindReplace_ForwardRadioButton_label;
098: public static String FindReplace_BackwardRadioButton_label;
099: public static String FindReplace_Scope;
100: public static String FindReplace_GlobalRadioButton_label;
101: public static String FindReplace_SelectedRangeRadioButton_label;
102: public static String FindReplace_Options;
103: public static String FindReplace_CaseCheckBox_label;
104: public static String FindReplace_WrapCheckBox_label;
105: public static String FindReplace_WholeWordCheckBox_label;
106: public static String FindReplace_IncrementalCheckBox_label;
107: public static String FindReplace_RegExCheckbox_label;
108: public static String FindReplace_FindNextButton_label;
109: public static String FindReplace_ReplaceFindButton_label;
110: public static String FindReplace_ReplaceSelectionButton_label;
111: public static String FindReplace_ReplaceAllButton_label;
112: public static String FindReplace_CloseButton_label;
113: public static String FindReplace_Status_noMatch_label;
114: public static String FindReplace_Status_replacement_label;
115: public static String FindReplace_Status_replacements_label;
116: public static String FindNext_Status_noMatch_label;
117: public static String AbstractDocumentProvider_ok;
118: public static String AbstractDocumentProvider_error;
119: public static String FindReplaceDialog_read_only;
120: public static String Editor_MoveLines_IllegalMove_status;
121: public static String Editor_error_clipboard_copy_failed_message;
122:
123: static {
124: NLS.initializeMessages(BUNDLE_NAME, EditorMessages.class);
125: }
126: }
|