Class EMFCompareRCPUIMessages

java.lang.Object
org.eclipse.emf.compare.rcp.ui.internal.EMFCompareRCPUIMessages

public final class EMFCompareRCPUIMessages
extends java.lang.Object
Utility class to access externalized Strings for EMF Compare's rcp ui integration.
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getString​(java.lang.String key)
    Returns the specified String from the resource bundle.
    static java.lang.String getString​(java.lang.String key, java.lang.Object... arguments)
    Returns a String from the resource bundle bound with the given arguments.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getString

      public static java.lang.String getString​(java.lang.String key)
      Returns the specified String from the resource bundle.
      Parameters:
      key - Key of the String we seek.
      Returns:
      The String from the resource bundle associated with key. '!' + key + '!' will be returned in case we didn't find it in the bundle.
    • getString

      public static java.lang.String getString​(java.lang.String key, java.lang.Object... arguments)
      Returns a String from the resource bundle bound with the given arguments.
      Parameters:
      key - Key of the String we seek.
      arguments - Arguments for the String formatting.
      Returns:
      formatted String.
      See Also:
      MessageFormat.format(String, Object[])