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