Interface ElementPropertiesFragment<T>

Type Parameters:
T - model that contains representation data of the BPMN element
All Superinterfaces:
com.vaadin.flow.component.HasElement, PropertiesFragment<T>, Serializable
All Known Implementing Classes:
EndEventPropertiesFragment, EscalationEventPropertiesFragment, GatewayPropertiesFragment

public interface ElementPropertiesFragment<T> extends PropertiesFragment<T>
Root properties-panel component for a BPMN element, implemented as a Fragment.

The dispatcher creates the component, injects the modeler via PropertiesFragment.setModeler(BpmnModeler) and then passes the element model via setEntityToEdit(Object) — in that order, so implementations may rely on the modeler being available when the model is set.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the BPMN element model to display and binds the UI to it.

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface io.jmix.bpmflowui.view.modeler.PropertiesFragment

    getInstanceClass, getModeler, setModeler
  • Method Details

    • setEntityToEdit

      void setEntityToEdit(T entity)
      Sets the BPMN element model to display and binds the UI to it.
      Parameters:
      entity - element model created from the selected element's JSON