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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDiagramImportedEvent(BpmnModeler source, boolean fromClient, String warningsJson) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DiagramImportedEvent
public DiagramImportedEvent(BpmnModeler source, boolean fromClient, @EventData("event.detail.warnings") String warningsJson)
-
-
Method Details
-
getWarnings
- Returns:
- the import warnings, empty when the diagram imported cleanly
-