Package com.nomagic.magicdraw.properties
Interface PropertyResourceProvider
-
- All Known Implementing Classes:
BaseEmfOptionsGroup.BaseEmfOptionsPropertyResourceProvider
,DefaultPropertyResourceProvider
,com.nomagic.magicdraw.emfuml2xmi.resources.EmfUml2PropertyResourceProvider
@OpenApiAll public interface PropertyResourceProvider
The 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 PropertyResourceProvider
NULL_RESOURCE_PROVIDER
Returns not translated key
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getString(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.
-
-