Class DeleteNodeToolboxAction

    • Constructor Detail

      • DeleteNodeToolboxAction

        @Inject
        public DeleteNodeToolboxAction​(ClientTranslationService translationService,
                                       org.kie.workbench.common.stunner.core.client.command.SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                       @Any
                                       org.jboss.errai.ioc.client.api.ManagedInstance<DefaultCanvasCommandFactory> commandFactories,
                                       org.kie.workbench.common.stunner.core.util.DefinitionUtils definitionUtils,
                                       javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasClearSelectionEvent> clearSelectionEvent)
    • Method Detail

      • getGlyph

        public org.kie.workbench.common.stunner.core.definition.shape.Glyph getGlyph​(AbstractCanvasHandler canvasHandler,
                                                                                     String uuid)
        Description copied from interface: ToolboxAction
        The glyph that is being rendered as for the toolbox button's shape/icon.
        Specified by:
        getGlyph in interface ToolboxAction<AbstractCanvasHandler>
        Parameters:
        canvasHandler - The toolbox' canvas handler instance.
        uuid - The toolbox' element identifier.
        Returns:
        The glyph definition that will be rendered as for the toolbox button's shape/icon.