Class ActionsToolbox<V extends ActionsToolboxView<?>>

  • Type Parameters:
    V - The actions toolbox' view type.
    All Implemented Interfaces:
    Iterable<ToolboxAction>, org.kie.workbench.common.stunner.core.client.components.toolbox.Toolbox<ActionsToolbox>

    public class ActionsToolbox<V extends ActionsToolboxView<?>>
    extends Object
    implements org.kie.workbench.common.stunner.core.client.components.toolbox.Toolbox<ActionsToolbox>, Iterable<ToolboxAction>
    A default toolbox implementation that decouples the actions/operations to perform for an element and the concrete toolbox' view implementation.

    Several ToolboxAction instances can be added in this toolbox, depending on the current context. On the other hand, this toolbox uses a concrete inmutable view, given at instance construction time, which finally displays the toolbox' actions as toolbox' button in the canvas.