Interface WebeditToolbarItem

All Superinterfaces:
Item<ToolbarContext>
All Known Subinterfaces:
ClientScriptProvidingToolbarActionsItem, ExecutableToolbarActionsItem

public interface WebeditToolbarItem extends Item<ToolbarContext>
Item definition for the toolbar in Webedit.
Since:
5.0.103
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

      boolean isEnabled(@NotNull @NotNull ToolbarContext context)
      Indicates, whether this item is enabled wrt. the given context.
      Specified by:
      isEnabled in interface Item<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

      boolean isVisible(@NotNull @NotNull ToolbarContext context)
      Indicates the visibility of this item wrt. the given context.
      Specified by:
      isVisible in interface Item<ToolbarContext>
      Parameters:
      context - The context to be considered for deciding upon visibility.
      Returns:
      true, if visible, false, else.
      Since:
      5.0.103