001 002package org.opencms.ui.editors; 003 004import org.opencms.i18n.A_CmsMessageBundle; 005import org.opencms.i18n.I_CmsMessageBundle; 006 007/** 008 * Convenience class to access the localized messages of this OpenCms package.<p> 009 * 010 * @since 10.0.0 011 */ 012public final class Messages extends A_CmsMessageBundle { 013 014 /** Message constant for key in the resource bundle. */ 015 public static final String GUI_BUTTON_CANCEL_0 = "GUI_BUTTON_CANCEL_0"; 016 017 /** Message constant for key in the resource bundle. */ 018 public static final String GUI_BUTTON_REDO_0 = "GUI_BUTTON_REDO_0"; 019 020 /** Message constant for key in the resource bundle. */ 021 public static final String GUI_BUTTON_REPLACE_0 = "GUI_BUTTON_REPLACE_0"; 022 023 /** Message constant for key in the resource bundle. */ 024 public static final String GUI_BUTTON_SAVE_0 = "GUI_BUTTON_SAVE_0"; 025 026 /** Message constant for key in the resource bundle. */ 027 public static final String GUI_BUTTON_SAVE_AND_EXIT_0 = "GUI_BUTTON_SAVE_AND_EXIT_0"; 028 029 /** Message constant for key in the resource bundle. */ 030 public static final String GUI_BUTTON_SEARCH_0 = "GUI_BUTTON_SEARCH_0"; 031 032 /** Message constant for key in the resource bundle. */ 033 public static final String GUI_BUTTON_TOBBLE_BRACKET_AUTOCLOSE_0 = "GUI_BUTTON_TOBBLE_BRACKET_AUTOCLOSE_0"; 034 035 /** Message constant for key in the resource bundle. */ 036 public static final String GUI_BUTTON_TOGGLE_HIGHLIGHTING_0 = "GUI_BUTTON_TOGGLE_HIGHLIGHTING_0"; 037 038 /** Message constant for key in the resource bundle. */ 039 public static final String GUI_BUTTON_TOGGLE_LINE_WRAPPING_0 = "GUI_BUTTON_TOGGLE_LINE_WRAPPING_0"; 040 041 /** Message constant for key in the resource bundle. */ 042 public static final String GUI_BUTTON_TOGGLE_TAB_VISIBILITY_0 = "GUI_BUTTON_TOGGLE_TAB_VISIBILITY_0"; 043 044 /** Message constant for key in the resource bundle. */ 045 public static final String GUI_BUTTON_UNDO_0 = "GUI_BUTTON_UNDO_0"; 046 047 /** Message constant for key in the resource bundle. */ 048 public static final String GUI_SOURCE_EDITOR_TITLE_0 = "GUI_SOURCE_EDITOR_TITLE_0"; 049 050 /** Name of the used resource bundle. */ 051 private static final String BUNDLE_NAME = "org.opencms.ui.editors.messages"; 052 /** Static instance member. */ 053 private static final I_CmsMessageBundle INSTANCE = new Messages(); 054 055 /** 056 * Hides the public constructor for this utility class.<p> 057 */ 058 private Messages() { 059 060 // hide the constructor 061 } 062 063 /** 064 * Returns an instance of this localized message accessor.<p> 065 * 066 * @return an instance of this localized message accessor 067 */ 068 public static I_CmsMessageBundle get() { 069 070 return INSTANCE; 071 } 072 073 /** 074 * @see org.opencms.i18n.I_CmsMessageBundle#getBundleName() 075 */ 076 public String getBundleName() { 077 078 return BUNDLE_NAME; 079 } 080}