| Constructor and Description |
|---|
WorkbenchMessages(I18n i18n)
Creates a WorkbenchMessages.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedString(String stringId,
String defaultValue,
Object... args)
Returns the string with given key with substitutions.
|
String |
getString(String stringID,
String defaultValue)
Returns the string with given key.
|
public WorkbenchMessages(I18n i18n)
i18n - Resourcespublic String getFormattedString(String stringId, String defaultValue, Object... args)
MessagesgetFormattedString in interface MessagesstringId - KeydefaultValue - default if key does not existargs - arguments to substitute