Class DialogResource

java.lang.Object
com.nomagic.magicdraw.resources.DialogResource

@OpenApiAll public class DialogResource extends Object
This class is used to retrieve the resources from the command resource bundle files.
  • Field Details

  • Constructor Details

    • DialogResource

      public DialogResource()
  • Method Details

    • getString

      public static String getString(String key)
      Get localized resource string according the given key.
      Parameters:
      key - key.
      Returns:
      resource string.
    • getString

      public static String getString(String key, @CheckForNull Object... values)
      Get localized resource string according the given key.
      Parameters:
      key - key.
      values - message arguments.
      Returns:
      resource string.