public interface WebeditToolbarItem extends Item<ToolbarContext>
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(ToolbarContext context)
Indicates, whether this item is enabled wrt. the given context.
|
boolean |
isVisible(ToolbarContext context)
Indicates the visibility of this item wrt. the given context.
|
boolean isEnabled(@NotNull ToolbarContext context)
isEnabled
in interface Item<ToolbarContext>
context
- The context to be considered for deciding upon the item being enabled.true
, if enabled, false
, else.boolean isVisible(@NotNull ToolbarContext context)
isVisible
in interface Item<ToolbarContext>
context
- The context to be considered for deciding upon visibility.true
, if visible, false
, else.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500