Class DefaultPropertyResourceProvider

java.lang.Object
com.nomagic.magicdraw.properties.DefaultPropertyResourceProvider
All Implemented Interfaces:
PropertyResourceProvider

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

    • DefaultPropertyResourceProvider

      public DefaultPropertyResourceProvider()
  • Method Details

    • getString

      public String getString(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.