Class EscalationDefinitionsFragment
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.orderedlayout.VerticalLayout>
io.jmix.flowui.fragment.Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
io.jmix.bpmflowui.view.modeler.properties.escalationdefinition.EscalationDefinitionsFragment
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,FacetOwner,FragmentOwner,Serializable
public class EscalationDefinitionsFragment
extends Fragment<com.vaadin.flow.component.orderedlayout.VerticalLayout>
Process-properties section listing the escalation definitions of the diagram
(
<bpmn:escalation> root elements) with create/edit/remove support.
The host embeds the fragment and calls setModeler(BpmnModeler) whenever the
process model is (re)bound; the fragment loads the definitions from the current BPMN XML
itself and pushes every change back through modeler root-element commands.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.fragment.Fragment
Fragment.ReadyEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BpmnXmlParserprotected DialogWindowsprotected JmixButtonprotected JmixButtonprotected DataGrid<EscalationDefinitionModel> protected CollectionContainer<EscalationDefinitionModel> protected JmixButtonprotected BpmnModelerFields inherited from class io.jmix.flowui.fragment.Fragment
fragmentActions, fragmentData, fragmentFacets, parentController, uiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected DataContextvoidvoidvoidonEscalationDefinitionsDcCollectionChange(CollectionContainer.CollectionChangeEvent<EscalationDefinitionModel> event) voidsetModeler(BpmnModeler modeler) toProperties(EscalationDefinitionModel definition) Methods inherited from class io.jmix.flowui.fragment.Fragment
addReadyListener, findInnerComponent, getFragmentActions, getFragmentData, getFragmentFacets, getInnerComponent, getParentController, initContent, onAttach, onDetach, setFragmentActions, setFragmentData, setFragmentFacets, setParentController, setUiComponentsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface io.jmix.flowui.facet.FacetOwner
getIdMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
escalationDefinitionsDataGrid
-
escalationDefinitionsDc
-
escalationDefCreateButton
-
escalationDefEditButton
-
escalationDefRemoveButton
-
bpmnXmlParser
-
dialogWindows
-
modeler
-
-
Constructor Details
-
EscalationDefinitionsFragment
public EscalationDefinitionsFragment()
-
-
Method Details
-
setModeler
-
onEscalationDefinitionsDataGridCreate
@Subscribe("escalationDefinitionsDataGrid.create") public void onEscalationDefinitionsDataGridCreate(ActionPerformedEvent event) -
onEscalationDefinitionsDataGridEdit
@Subscribe("escalationDefinitionsDataGrid.edit") public void onEscalationDefinitionsDataGridEdit(ActionPerformedEvent event) -
escalationDefinitionAfterCloseHandler
protected void escalationDefinitionAfterCloseHandler(DialogWindow.AfterCloseEvent<EscalationDefinitionEdit> event) -
onEscalationDefinitionsDcCollectionChange
@Subscribe(id="escalationDefinitionsDc", target=DATA_CONTAINER) public void onEscalationDefinitionsDcCollectionChange(CollectionContainer.CollectionChangeEvent<EscalationDefinitionModel> event) -
toProperties
-
getParentDataContext
-