Class DiagramImportErrorEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<BpmnModeler>
org.vaadin.addons.componentfactory.bpmn.DiagramImportErrorEvent
- All Implemented Interfaces:
Serializable
@DomEvent("vcf-bpmn-import-error")
public class DiagramImportErrorEvent
extends com.vaadin.flow.component.ComponentEvent<BpmnModeler>
Fired when
BpmnModeler.setDiagramXml(String) fails to import.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDiagramImportErrorEvent(BpmnModeler source, boolean fromClient, String message) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DiagramImportErrorEvent
public DiagramImportErrorEvent(BpmnModeler source, boolean fromClient, @EventData("event.detail.message") String message)
-
-
Method Details
-
getMessage
- Returns:
- why the import failed, as reported by bpmn-js
-