Interface WebeditToolbarItem
- All Superinterfaces:
Item<ToolbarContext>
- All Known Subinterfaces:
ClientScriptProvidingToolbarActionsItem
,ExecutableToolbarActionsItem
Item definition for the toolbar in Webedit.
- Since:
- 5.0.103
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEnabled
(@NotNull ToolbarContext context) Indicates, whether this item is enabled wrt. the given context.boolean
isVisible
(@NotNull ToolbarContext context) Indicates the visibility of this item wrt. the given context.
-
Method Details
-
isEnabled
Indicates, whether this item is enabled wrt. the given context.- Specified by:
isEnabled
in interfaceItem<ToolbarContext>
- Parameters:
context
- The context to be considered for deciding upon the item being enabled.- Returns:
true
, if enabled,false
, else.- Since:
- 5.0.103
-
isVisible
Indicates the visibility of this item wrt. the given context.- Specified by:
isVisible
in interfaceItem<ToolbarContext>
- Parameters:
context
- The context to be considered for deciding upon visibility.- Returns:
true
, if visible,false
, else.- Since:
- 5.0.103
-