Class EntityAttributeEdit
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<EntityAttributeModel>
io.jmix.bpmflowui.view.modeler.properties.entitydatatask.entityattribute.EntityAttributeEdit
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,ChangeTracker
,DetailView<EntityAttributeModel>
,ReadOnlyAwareView
,Serializable
@ViewController("bpm_EntityAttributeEdit")
@ViewDescriptor("entity-attribute-edit.xml")
public class EntityAttributeEdit
extends StandardDetailView<EntityAttributeModel>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.component.AbstractSinglePropertyField
protected BeanMethodModelHelper
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected JmixComboBox<String>
protected BpmnModeler
protected BpmProperties
protected InstanceContainer<EntityAttributeModel>
protected Map<String,
MetaProperty> protected com.vaadin.flow.component.formlayout.FormLayout
protected MessageBundle
protected Messages
protected Metadata
protected JmixComboBox<MethodInfo>
protected JmixComboBox<String>
protected UiComponents
protected JmixComboBox<String>
Fields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
clearAttributeValueFields
(String attributeTypeValue) protected void
createDatatypeAttributeValueField
(MetaProperty metaProperty) protected void
protected void
createEnumAttributeValueField
(MetaProperty metaProperty) protected void
createValueField
(String attributeName) protected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent>
getValueChangeEventConsumer
(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
protected void
initAttributeValueTypeLookupField
(boolean includeDirectValue) protected void
protected void
onBeanNameFieldValueChange
(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
onInit
(View.InitEvent event) protected void
onMethodNameFieldValueChange
(com.vaadin.flow.component.HasValue.ValueChangeEvent<MethodInfo> event) void
onNameFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) void
onValueTypeLookupComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) void
setBpmnModeler
(BpmnModeler bpmnModeler) void
setEntityAttributes
(Map<String, MetaProperty> entityAttributes) protected void
updateSpringFields
(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateView
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, 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.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
messageBundle
-
messages
-
uiComponents
-
metadata
-
beanMethodModelHelper
-
bpmProperties
-
entityAttributeDc
-
valueTypeLookup
-
nameField
-
beanNameField
-
methodNameField
-
fieldForm
-
beanMethodParamsBox
-
attributeValueField
protected com.vaadin.flow.component.AbstractSinglePropertyField attributeValueField -
entityAttributes
-
bpmnModeler
-
-
Constructor Details
-
EntityAttributeEdit
public EntityAttributeEdit()
-
-
Method Details
-
setEntityAttributes
-
onInit
-
onBeforeShow
-
onValueTypeLookupComponentValueChange
@Subscribe("valueTypeLookup") public void onValueTypeLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) -
onNameFieldComponentValueChange
@Subscribe("nameField") public void onNameFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) -
initAttributeValueTypeLookupField
protected void initAttributeValueTypeLookupField(boolean includeDirectValue) -
addAttributeValueTypeLookupFieldChangeListener
protected void addAttributeValueTypeLookupFieldChangeListener() -
initAttributeNameLookupField
protected void initAttributeNameLookupField() -
clearAttributeValueFields
-
initSpringBeanFields
protected void initSpringBeanFields() -
onBeanNameFieldValueChange
@Subscribe("beanNameField") protected void onBeanNameFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<String> event) -
onMethodNameFieldValueChange
@Subscribe("methodNameField") protected void onMethodNameFieldValueChange(com.vaadin.flow.component.HasValue.ValueChangeEvent<MethodInfo> event) -
getValueChangeEventConsumer
protected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent> getValueChangeEventConsumer(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
updateSpringFields
protected void updateSpringFields(String springBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
createValueField
-
createEnumAttributeValueField
-
createDatatypeAttributeValueField
-
createDefaultStringValueField
protected void createDefaultStringValueField() -
setBpmnModeler
-