Interface ExecutableToolbarActionsItem
- All Superinterfaces:
ExecutablePluginItem<ToolbarContext>,Item<ToolbarContext>,WebeditExecutablePluginItem<ToolbarContext>,WebeditToolbarItem
public interface ExecutableToolbarActionsItem
extends WebeditToolbarItem, WebeditExecutablePluginItem<ToolbarContext>
Toolbar menu item providing an executable operation.
- Since:
- 5.0.103
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(@NotNull ToolbarContext context) Executes an operation associated with this item, taking into consideration the given context.@Nullable StringgetIconPath(@NotNull ToolbarContext context) Returns a URL for an icon graphic associated with this item.@NotNull StringgetLabel(@NotNull ToolbarContext context) Provides a label for this item.Methods inherited from interface de.espirit.firstspirit.webedit.plugin.toolbar.WebeditToolbarItem
isEnabled, isVisible
-
Method Details
-
getLabel
Provides a label for this item.- Specified by:
getLabelin interfaceExecutablePluginItem<ToolbarContext>- Parameters:
context- The item's operational context.- Returns:
- The item label.
- Since:
- 5.0.103
-
getIconPath
Returns a URL for an icon graphic associated with this item. The URL may be relative to the WebClient web application's root directory or absolute.- Specified by:
getIconPathin interfaceWebeditExecutablePluginItem<ToolbarContext>- Parameters:
context- The item's operational context.- Returns:
- A resource path to the icon file or
nullif the item has no icon (in this case, a default icon may be displayed). - Since:
- 5.0.103
-
execute
Executes an operation associated with this item, taking into consideration the given context.- Specified by:
executein interfaceExecutablePluginItem<ToolbarContext>- Parameters:
context- The item's operational context.- Since:
- 5.0.103
-