Interface WebeditUiAgent


public interface WebeditUiAgent
Agent providing specific information of the webedit UI.
Since:
5.0.103
  • Field Details

  • Method Details

    • getLocale

      @NotNull @NotNull Locale getLocale()
      Provides the locale with which the webedit UI is localized.
      Returns:
      The client's locale.
      Since:
      5.2.609
    • getDisplayLanguage

      Language getDisplayLanguage()
      Provides the display language of the client UI.
      Returns:
      The client's display language.
      Since:
      5.0.103
    • getPreviewLanguage

      Language getPreviewLanguage()
      Provides the language the preview element is shown in.
      Returns:
      The preview language.
      Since:
      5.0.103
    • getPreviewElement

      IDProvider getPreviewElement()
      Provides the currently shown element.
      Returns:
      The current element.
      Since:
      5.0.103
    • getDisplayName

      @NotNull @NotNull String getDisplayName(IDProvider element)
      Provides the display name for the given store element.
      Parameters:
      element - The element to provide a name for.
      Returns:
      The element's display name.
      Since:
      5.0.103