Class DiagramImportedEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<BpmnModeler>
org.vaadin.addons.componentfactory.bpmn.DiagramImportedEvent
All Implemented Interfaces:
Serializable

@DomEvent("vcf-bpmn-imported") public class DiagramImportedEvent extends com.vaadin.flow.component.ComponentEvent<BpmnModeler>
Fired when BpmnModeler.setDiagramXml(String) has imported the diagram, possibly with warnings.
See Also:
  • Constructor Details

    • DiagramImportedEvent

      public DiagramImportedEvent(BpmnModeler source, boolean fromClient, @EventData("event.detail.warnings") String warningsJson)
  • Method Details

    • getWarnings

      public List<String> getWarnings()
      Returns:
      the import warnings, empty when the diagram imported cleanly