Package com.nomagic.magicdraw.properties
Interface PropertyResourceProvider
- 
- All Known Implementing Classes:
 DefaultPropertyResourceProvider
@OpenApiAll public interface PropertyResourceProviderThe interface for resource provider. Resource provider must return some resource with given key for the property. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static PropertyResourceProviderNULL_RESOURCE_PROVIDERReturns not translated key 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetString(java.lang.String key, Property property)Returns resource for given key. 
 - 
 
- 
- 
Field Detail
- 
NULL_RESOURCE_PROVIDER
static final PropertyResourceProvider NULL_RESOURCE_PROVIDER
Returns not translated key 
 - 
 
- 
Method Detail
- 
getString
java.lang.String getString(@CheckForNull java.lang.String key, @CheckForNull Property property)Returns resource for given key.- Parameters:
 key- a resource key.property- property- Returns:
 - the resource for given key.
 
 
 - 
 
 -