Package de.espirit.firstspirit.webedit
Interface WebeditUiAgent
public interface WebeditUiAgent
Agent providing specific information of the webedit UI.
- Since:
- 5.0.103
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<WebeditUiAgent>
Agent providing specific information of the webedit UI. -
Method Summary
Modifier and TypeMethodDescriptionProvides the display language of the client UI.@NotNull String
getDisplayName
(IDProvider element) Provides the display name for the given store element.@NotNull Locale
Provides the locale with which the webedit UI is localized.Provides the currently shown element.Provides the language the preview element is shown in.
-
Field Details
-
TYPE
Agent providing specific information of the webedit UI.- Since:
- 5.0.103
-
-
Method Details
-
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
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
-