Package com.nomagic.magicdraw.properties
Class DefaultPropertyResourceProvider
- java.lang.Object
-
- com.nomagic.magicdraw.properties.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.
-
-
Field Summary
-
Fields inherited from interface com.nomagic.magicdraw.properties.PropertyResourceProvider
NULL_RESOURCE_PROVIDER
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertyResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getString(java.lang.String key, Property property)
Returns resource by given name from MagicDraw resources manager.
-
-
-
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 interfacePropertyResourceProvider
- Parameters:
key
- a resource key.property
- property- Returns:
- the resource for given key.
-
-