Class SimplePresentationProvider
java.lang.Object
com._1c.g5.v8.dt.md.resource.presentation.SimplePresentationProvider
- All Implemented Interfaces:
IPresentationAdapter
IPresentationAdapter implementation which shows presentation according to application locale.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAdapter(IBmObject target) Adds adapter data for the given context.getPresentation(IBmObject target, String languageCode) Returns object presentation for given languageCode
-
Field Details
-
BM_PERSISTENT_ADAPTER_ID
- See Also:
-
-
Constructor Details
-
SimplePresentationProvider
public SimplePresentationProvider()
-
-
Method Details
-
addAdapter
Adds adapter data for the given context.- Parameters:
target- The target object to store context in (notnull)
-
getPresentation
Description copied from interface:IPresentationAdapterReturns object presentation for given languageCode- Specified by:
getPresentationin interfaceIPresentationAdapterlanguageCode- - the language code (notnull)- Returns:
- object presentation for given languageCode (never
null)
-