Uses of Interface
de.espirit.firstspirit.client.plugin.toolbar.ToolbarContext
Packages that use ToolbarContext
Package
Description
Provides interfaces and types for client toolbar plugins.
This package provides types, interfaces and classes, that are to be used to integrate client plugins via the
This package provides types, interfaces and classes, that are to be used to integrate client plugins via the
public hotspot of FirstSpirit into the toolbar of the java client.Provides interfaces and types for web client toolbar plugins.
This package provides types, interfaces and classes, that are to be used to integrate web client plugins via the
This package provides types, interfaces and classes, that are to be used to integrate web client plugins via the
public hotspot of FirstSpirit into the toolbar of the web client.-
Uses of ToolbarContext in de.espirit.firstspirit.client.plugin.toolbar
Methods in de.espirit.firstspirit.client.plugin.toolbar with parameters of type ToolbarContextModifier and TypeMethodDescriptionvoidExecutableGroupingToolbarItem.execute(@NotNull ToolbarContext context) Executes an operation associated with this toolbar item considering the given context.voidExecutableToolbarItem.execute(@NotNull ToolbarContext context) Executes an operation associated with this toolbar item considering the given context.@Nullable IconJavaClientToolbarItem.getIcon(@NotNull ToolbarContext context) Returns the icon of this item ornullif this item has no icon.
The recommended dimensions for this icon are: Within25x25 pxfor java client toolbar button19x19intoolbar sub itemsEnsure to deliver icons of the same dimension in all methods delivering icons (icon,pressed,roll over)@NotNull StringJavaClientToolbarItem.getLabel(@NotNull ToolbarContext context) Provide the label for this item.@Nullable IconJavaClientToolbarItem.getPressedIcon(@NotNull ToolbarContext context) Returns the icon in pressed state for this item ornullif this item has no pressed icon.
If this method deliversnullthenormal iconwill be used.@Nullable IconJavaClientToolbarItem.getRollOverIcon(@NotNull ToolbarContext context) Returns an optional roll-over-icon of this item ornullif thenormal iconshould be used.
The recommended dimensions for this icon are: Within25x25 pxfor java client toolbar button19x19intoolbar sub itemsEnsure to deliver icons of the same dimension in all methods delivering icons (icon,pressed,roll over) The hover background will be rendered from FirstSpirit.@Nullable IconToggleableToolbarItem.getSelectedIcon(@NotNull ToolbarContext context) Returns the icon of this item in selected state ornullif thepressed iconshould be used.
The recommended dimensions for this icon is within25x25 px.booleanJavaClientToolbarItem.isEnabled(@NotNull ToolbarContext context) Indicate, whether this item is enabled wrt. the given context.booleanJavaClientToolbarItem.isVisible(@NotNull ToolbarContext context) Indicates the visibility of this item wrt. the given context.voidToggleableToolbarItem.setSelected(@NotNull ToolbarContext context, boolean selected) Sets the selection mode of this item. -
Uses of ToolbarContext in de.espirit.firstspirit.webedit.plugin.toolbar
Methods in de.espirit.firstspirit.webedit.plugin.toolbar with parameters of type ToolbarContextModifier and TypeMethodDescriptionvoidExecutableToolbarActionsItem.execute(@NotNull ToolbarContext context) Executes an operation associated with this item, taking into consideration the given context.ClientScriptProvidingToolbarActionsItem.getIconPath(@NotNull ToolbarContext context) Returns a URL for the button item's icon graphic that will be shown in the WebClient.@Nullable StringExecutableToolbarActionsItem.getIconPath(@NotNull ToolbarContext context) Returns a URL for an icon graphic associated with this item.@NotNull StringClientScriptProvidingToolbarActionsItem.getLabel(@NotNull ToolbarContext context) Provides a label for this item wrt. the given context.@NotNull StringExecutableToolbarActionsItem.getLabel(@NotNull ToolbarContext context) Provides a label for this item.ClientScriptProvidingToolbarActionsItem.getScript(ToolbarContext context) Returns client script code that will be executed within the WebClient interface.booleanWebeditToolbarItem.isEnabled(@NotNull ToolbarContext context) Indicates, whether this item is enabled wrt. the given context.booleanWebeditToolbarItem.isVisible(@NotNull ToolbarContext context) Indicates the visibility of this item wrt. the given context.