Interface IMenuEntry
- All Known Subinterfaces:
IGroupMenuEntry, IViewMenuEntry
public interface IMenuEntry
Common interface for menu entries.
IMPORTANT: This interface is intended to be used by the formcycle core. Plugin developers should not implement this interface. This interface may be subject to change pretty soon.
- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescription@NotBlank StringReturns the style class for the icon of this menu entry.@NotBlank StringReturns the label of this menu entry in the given locale.booleanisAvailable(@NotNull IUser user, Mandant client) Returns if this menu entry is available in the given user and client.booleanReturns if this menu entry is enabled in the given user and client.
-
Method Details
-
getIconStyleClass
Returns the style class for the icon of this menu entry.- Returns:
- the style class for the icon of this menu entry
-
getLabel
-
isAvailable
Returns if this menu entry is available in the given user and client.- Parameters:
user- the user to checkclient- the client to check. May benullif the menu context is not client-specific.- Returns:
trueif this menu entry is available in the given user and client,falseotherwise
-
isEnabled
Returns if this menu entry is enabled in the given user and client.- Parameters:
user- the user to checkclient- the client to check. May benullif the menu context is not client-specific.- Returns:
trueif this menu entry is enabled in the given user and client,falseotherwise
-