⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messages.java

📁 eclise rcp 项目,是非常好的学习源码
💻 JAVA
字号:
/*
 * Copyright (C) Siemens AG 2007
 *
 * Transmittal, reproduction, dissemination and/or editing of this
 * source code as well as utilization of its contents and communication
 * thereof to others without express authorization are prohibited.
 * Offenders will be held liable for payment of damages.  All rights
 * created by patent grant or registration of a utility model or design
 * patent are reserved.
 *
 */

package com.siemens.ct.mp3m.ui.views;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

/**
 * 
 * 
 * @author Kai Toedter
 * @author $LastChangedBy: $
 * @version $LastChangedDate: $
 * @version $LastChangedRevision: $
 *
 */
public class Messages {
	private static final String BUNDLE_NAME = "com.siemens.ct.mp3m.ui.views.messages"; //$NON-NLS-1$

	private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);

	private Messages() {
	}

	public static String getString(String key) {
		try {
			return RESOURCE_BUNDLE.getString(key);
		} catch (MissingResourceException e) {
			return '!' + key + '!';
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -