Class BpmnModelerImpl
java.lang.Object
com.vaadin.flow.component.Component
io.jmix.bpmflowui.uicomponent.bpmnmodeler.BpmnModelerImpl
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasStyle
,BpmnModeler
,Serializable
@Tag("jmix-bpmn-modeler")
@NpmPackage(value="bpmn-js",
version="12.1.0")
@CssImport("bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css") @CssImport("bpmn-js/dist/assets/bpmn-font/css/bpmn.css") @CssImport("bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css") @CssImport("bpmn-js/dist/assets/diagram-js.css")
@JsModule("./src/bpmn-modeler/bpmn-modeler.ts")
public class BpmnModelerImpl
extends com.vaadin.flow.component.Component
implements BpmnModeler
- See Also:
-
Field Summary
Fields inherited from interface io.jmix.bpmflowui.uicomponent.bpmnmodeler.BpmnModeler
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSchemaChangedListener
(com.vaadin.flow.component.ComponentEventListener<XmlSchemaChangedEvent> listener) void
addSelectedElementChangedListener
(com.vaadin.flow.component.ComponentEventListener<SelectionChangedEvent> listener) void
void
void
void
void
void
void
void
void
void
boolean
void
void
void
void
void
void
void
setBpmnXml
(String bpmnXml) void
setHasChanged
(boolean hasChanged) Sets the state of the modeler component changes Can be called for both java (server) code and from typescript (client)void
void
void
void
void
void
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
bpmnXml
-
-
Constructor Details
-
BpmnModelerImpl
-
-
Method Details
-
addSelectedElementChangedListener
public void addSelectedElementChangedListener(com.vaadin.flow.component.ComponentEventListener<SelectionChangedEvent> listener) - Specified by:
addSelectedElementChangedListener
in interfaceBpmnModeler
-
addSchemaChangedListener
public void addSchemaChangedListener(com.vaadin.flow.component.ComponentEventListener<XmlSchemaChangedEvent> listener) - Specified by:
addSchemaChangedListener
in interfaceBpmnModeler
-
setBpmnXml
- Specified by:
setBpmnXml
in interfaceBpmnModeler
-
getBpmnXml
- Specified by:
getBpmnXml
in interfaceBpmnModeler
-
hasChanged
public boolean hasChanged()- Specified by:
hasChanged
in interfaceBpmnModeler
-
setHasChanged
@ClientCallable public void setHasChanged(boolean hasChanged) Sets the state of the modeler component changes Can be called for both java (server) code and from typescript (client)- Specified by:
setHasChanged
in interfaceBpmnModeler
- Parameters:
hasChanged
- flag for changes statement- See Also:
-
requestForBpmnXml
- Specified by:
requestForBpmnXml
in interfaceBpmnModeler
-
updateElementProperties
- Specified by:
updateElementProperties
in interfaceBpmnModeler
-
createOrUpdateNestedObject
- Specified by:
createOrUpdateNestedObject
in interfaceBpmnModeler
-
createOrUpdateFormData
- Specified by:
createOrUpdateFormData
in interfaceBpmnModeler
-
createOrUpdateExtensionElement
- Specified by:
createOrUpdateExtensionElement
in interfaceBpmnModeler
-
createOrUpdateRootElement
- Specified by:
createOrUpdateRootElement
in interfaceBpmnModeler
-
removeRootElement
- Specified by:
removeRootElement
in interfaceBpmnModeler
-
setMultiInstanceFormalExpression
- Specified by:
setMultiInstanceFormalExpression
in interfaceBpmnModeler
-
updateTimerEventDefinition
- Specified by:
updateTimerEventDefinition
in interfaceBpmnModeler
-
updateEventDefinition
- Specified by:
updateEventDefinition
in interfaceBpmnModeler
-
updateEventDefinitionProperties
- Specified by:
updateEventDefinitionProperties
in interfaceBpmnModeler
-
removeExtensionElements
- Specified by:
removeExtensionElements
in interfaceBpmnModeler
-
createOrUpdateSpringBean
- Specified by:
createOrUpdateSpringBean
in interfaceBpmnModeler
-
removeSpringBean
- Specified by:
removeSpringBean
in interfaceBpmnModeler
-
createOrUpdateProcessVariable
- Specified by:
createOrUpdateProcessVariable
in interfaceBpmnModeler
-
createOrUpdateExtensionProperty
- Specified by:
createOrUpdateExtensionProperty
in interfaceBpmnModeler
-
removeExtensionProperty
- Specified by:
removeExtensionProperty
in interfaceBpmnModeler
-
removeProcessVariable
- Specified by:
removeProcessVariable
in interfaceBpmnModeler
-
createAndSetListProperty
- Specified by:
createAndSetListProperty
in interfaceBpmnModeler
-
updateProcessDocumentation
- Specified by:
updateProcessDocumentation
in interfaceBpmnModeler
-
createListener
- Specified by:
createListener
in interfaceBpmnModeler
-
removeParticipantProcessExtensionElements
- Specified by:
removeParticipantProcessExtensionElements
in interfaceBpmnModeler
-
createOrUpdateParticipantProcessExtensionElement
- Specified by:
createOrUpdateParticipantProcessExtensionElement
in interfaceBpmnModeler
-