📄 messages.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 + -