Class DefaultPropertyResourceProvider

  • All Implemented Interfaces:
    PropertyResourceProvider

    @OpenApiAll
    public class DefaultPropertyResourceProvider
    extends java.lang.Object
    implements PropertyResourceProvider
    The resource provider which takes resources from MagicDraw resources manager.
    • Constructor Detail

      • DefaultPropertyResourceProvider

        public DefaultPropertyResourceProvider()
    • Method Detail

      • getString

        public java.lang.String getString​(java.lang.String key,
                                          Property property)
        Returns resource by given name from MagicDraw resources manager.
        Specified by:
        getString in interface PropertyResourceProvider
        Parameters:
        key - a resource key.
        property - property
        Returns:
        the resource for given key.