public final class I18N
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
I18N.TranslatableMessage
Used to mark a
public static String field of a class as an externalized string, whose actual value will
depend on the locale used at runtime. |
Modifier and Type | Method and Description |
---|---|
static void |
initializeMessages(java.lang.Class<?> messagesClass,
org.eclipse.emf.common.EMFPlugin plugin)
Initializes the value of a class's
TranslatableMessage s using the specified plugin as
ResourceLocator . |
public static void initializeMessages(java.lang.Class<?> messagesClass, org.eclipse.emf.common.EMFPlugin plugin)
TranslatableMessage
s using the specified plugin as
ResourceLocator
.messagesClass
- the class which defines the fields to initialize.plugin
- the plugin from which to obtain the localized value of the fields.