Class SimplePresentationProvider

java.lang.Object
com._1c.g5.v8.dt.md.resource.presentation.SimplePresentationProvider
All Implemented Interfaces:
IPresentationAdapter

public class SimplePresentationProvider extends Object implements IPresentationAdapter
IPresentationAdapter implementation which shows presentation according to application locale.
  • Field Details

  • Constructor Details

    • SimplePresentationProvider

      public SimplePresentationProvider()
  • Method Details

    • addAdapter

      public static void addAdapter(IBmObject target)
      Adds adapter data for the given context.
      Parameters:
      target - The target object to store context in (not null)
    • getPresentation

      public String getPresentation(IBmObject target, String languageCode)
      Description copied from interface: IPresentationAdapter
      Returns object presentation for given languageCode
      Specified by:
      getPresentation in interface IPresentationAdapter
      languageCode - - the language code (not null)
      Returns:
      object presentation for given languageCode (never null)