Class AbstractToolboxAction

    • Constructor Detail

      • AbstractToolboxAction

        protected AbstractToolboxAction​(org.kie.workbench.common.stunner.core.util.DefinitionUtils definitionUtils,
                                        ClientTranslationService translationService)
    • Method Detail

      • getDefinitionUtils

        protected org.kie.workbench.common.stunner.core.util.DefinitionUtils getDefinitionUtils()
      • 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.