Package mondrian.gui.validate.impl
Class WorkbenchMessages
- java.lang.Object
-
- mondrian.gui.validate.impl.WorkbenchMessages
-
-
Constructor Summary
Constructors Constructor Description WorkbenchMessages(I18n i18n)
Creates a WorkbenchMessages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
WorkbenchMessages
public WorkbenchMessages(I18n i18n)
Creates a WorkbenchMessages.- Parameters:
i18n
- Resources
-
-
Method Detail
-
getFormattedString
public String getFormattedString(String stringId, String defaultValue, Object... args)
Description copied from interface:Messages
Returns the string with given key with substitutions.- Specified by:
getFormattedString
in interfaceMessages
- Parameters:
stringId
- KeydefaultValue
- default if key does not existargs
- arguments to substitute- Returns:
- message
-
-