Class EscalationRefPropertiesFragment
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<JmixFormLayout>
io.jmix.flowui.fragment.Fragment<JmixFormLayout>
io.jmix.bpmflowui.view.modeler.properties.escalationref.EscalationRefPropertiesFragment
- 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
Reusable properties-panel section for selecting the escalation definition referenced by an
escalation event (
escalationRef), with an inline "Create new..." option.
The host embeds the fragment and calls setModeler(BpmnModeler) first (it populates
the lookup from the current BPMN XML), then setParentElement(HasEscalationRefModel).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.fragment.Fragment
Fragment.ReadyEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BpmnXmlParserprotected static final Stringprotected DialogWindowsprotected JmixComboBox<String> protected InstanceContainer<EscalationRefModel> protected static final Stringprotected Messagesprotected MetadataToolsprotected BpmnModelerprotected HasEscalationRefModelFields inherited from class io.jmix.flowui.fragment.Fragment
fragmentActions, fragmentData, fragmentFacets, parentController, uiComponents -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidRebuilds the lookup items fromdefinitionOptionswith the "Create new..." option always appended last.protected voidprotected DataContextprotected voidvoidonEscalationRefModelDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<EscalationRefModel> event) voidsetModeler(BpmnModeler modeler) voidsetParentElement(HasEscalationRefModel parentElement) protected voidsortByLabel(Map<String, String> options) 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
-
CREATE_NEW_DEFINITION_ID
- See Also:
-
MESSAGE_GROUP
- See Also:
-
escalationRefModelDc
-
escalationLookup
-
bpmnXmlParser
-
metadataTools
-
dialogWindows
-
messages
-
parentElement
-
modeler
-
definitionOptions
-
-
Constructor Details
-
EscalationRefPropertiesFragment
public EscalationRefPropertiesFragment()
-
-
Method Details
-
setParentElement
-
setModeler
-
onEscalationRefModelDcItemPropertyChange
@Subscribe(id="escalationRefModelDc", target=DATA_CONTAINER) public void onEscalationRefModelDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<EscalationRefModel> event) -
showNewEscalationDefinitionEditor
protected void showNewEscalationDefinitionEditor() -
escalationDefinitionAfterCloseHandler
protected void escalationDefinitionAfterCloseHandler(DialogWindow.AfterCloseEvent<EscalationDefinitionEdit> event) -
initEscalationLookup
protected void initEscalationLookup() -
applyLookupOptions
protected void applyLookupOptions()Rebuilds the lookup items fromdefinitionOptionswith the "Create new..." option always appended last. -
sortByLabel
-
getParentDataContext
-