Package io.jmix.bpmflowui.util
Class BpmModelerUiUtils
java.lang.Object
io.jmix.bpmflowui.util.BpmModelerUiUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.vaadin.flow.component.ItemLabelGenerator<String> labelGenerator(Map<String, String> mapping) static voidsetAbsentValueInItems(com.vaadin.flow.component.select.Select select, @Nullable Object value) Adds new value that not in component list items to already initialized selectstatic voidsetAbsentValueInItems(JmixComboBox comboBox, @Nullable Object value) Adds new value that not in component list items to already initialized combobox
-
Constructor Details
-
BpmModelerUiUtils
public BpmModelerUiUtils()
-
-
Method Details
-
labelGenerator
-
setAbsentValueInItems
Adds new value that not in component list items to already initialized combobox- Parameters:
comboBox- - component that already has items but doesn't contain new item value that will putvalue- - new value that not contains in comboBox's items
-
setAbsentValueInItems
public static void setAbsentValueInItems(com.vaadin.flow.component.select.Select select, @Nullable Object value) Adds new value that not in component list items to already initialized select- Parameters:
select- - component that already has items but doesn't contain new item value that will putvalue- - new value that not contains in select's items
-