Class MetaModelResource

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

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

  • Constructor Details

    • MetaModelResource

      public MetaModelResource()
  • 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(Class classType)
      Get localized resource string according the given element class type.
      Parameters:
      classType - element class type
      Returns:
      resource string
      See Also: