Class ElementSelectedListener.ElementSelectedEvent

java.lang.Object
io.jmix.bpmui.uicomponent.bpmnmodeler.ElementSelectedListener.ElementSelectedEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
ElementSelectedListener

public static class ElementSelectedListener.ElementSelectedEvent extends Object implements Serializable
Represents an event that is triggered when an element is selected in the BPMN diagram.
See Also:
  • Field Details

    • elementType

      protected String elementType
      The type of the selected BPMN element.
    • businessObjectJson

      protected String businessObjectJson
      JSON representation of the business object associated with the selected element.
  • Constructor Details

    • ElementSelectedEvent

      public ElementSelectedEvent(String elementType, String businessObjectJson)
      Constructs an ElementSelectedEvent with the specified element type and business object JSON.
      Parameters:
      elementType - The type of the selected BPMN element.
      businessObjectJson - JSON representation of the business object associated with the selected element.
  • Method Details

    • getBusinessObjectJson

      public String getBusinessObjectJson()
      Gets the JSON representation of the business object associated with the selected element.
      Returns:
      The business object JSON.
    • getElementType

      public String getElementType()
      Gets the type of the selected BPMN element.
      Returns:
      The element type.