public interface ExecutableToolbarActionsItem extends WebeditToolbarItem, WebeditExecutablePluginItem<ToolbarContext>
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ToolbarContext context)
Executes an operation associated with this item, taking into consideration the given context.
|
String |
getIconPath(ToolbarContext context)
Returns a URL for an icon graphic associated with this item.
|
String |
getLabel(ToolbarContext context)
Provides a label for this item.
|
isEnabled, isVisible@NotNull String getLabel(@NotNull ToolbarContext context)
getLabel in interface ExecutablePluginItem<ToolbarContext>context - The item's operational context.@Nullable String getIconPath(@NotNull ToolbarContext context)
getIconPath in interface WebeditExecutablePluginItem<ToolbarContext>context - The item's operational context.null if the item has no icon (in this case, a default icon may be displayed).void execute(@NotNull ToolbarContext context)
execute in interface ExecutablePluginItem<ToolbarContext>context - The item's operational context.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500