public interface ClientScriptProvidingToolbarActionsItem extends WebeditToolbarItem, ClientScriptProvidingItem<ToolbarContext>
Modifier and Type | Method and Description |
---|---|
String |
getIconPath(ToolbarContext context)
Returns a URL for the button item's icon graphic that will be shown in the WebClient.
|
String |
getLabel(ToolbarContext context)
Provides a label for this item wrt. the given context.
|
String |
getScript(ToolbarContext context)
Returns client script code that will be executed within the WebClient interface.
|
isEnabled, isVisible
String getIconPath(@NotNull ToolbarContext context)
getIconPath
in interface ClientScriptProvidingItem<ToolbarContext>
context
- The item's operational context.null
if the item has no icon (in this case, a default icon may be displayed).@NotNull String getLabel(@NotNull ToolbarContext context)
getLabel
in interface ClientScriptProvidingItem<ToolbarContext>
context
- The item's operational context.String getScript(ToolbarContext context)
getScript
in interface ClientScriptProvidingItem<ToolbarContext>
context
- The item's operational context.null
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500