|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.actions.ActionMessages
public class ActionMessages
Class that gives access to the action messages resource bundle.
Method Summary | |
---|---|
static java.lang.String |
getFormattedString(java.lang.String key,
java.lang.Object arg)
Returns the formatted resource string associated with the given key in the resource bundle. |
static java.lang.String |
getFormattedString(java.lang.String key,
java.lang.Object[] args)
Returns the formatted resource string associated with the given key in the resource bundle. |
static java.util.ResourceBundle |
getResourceBundle()
Returns the resource bundle managed by the receiver. |
static java.lang.String |
getString(java.lang.String key)
Returns the resource string associated with the given key in the resource bundle. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.ResourceBundle getResourceBundle()
public static java.lang.String getString(java.lang.String key)
key
- the resource key
public static java.lang.String getFormattedString(java.lang.String key, java.lang.Object arg)
MessageFormat
is used to format the message. If there isn't any value
under the given key, the key is returned.
key
- the resource keyarg
- the message argument
public static java.lang.String getFormattedString(java.lang.String key, java.lang.Object[] args)
MessageFormat
is used to format the message. If there isn't any value
under the given key, the key is returned.
key
- the resource keyargs
- the message arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |