Class FormFieldEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<FormFieldModel>
io.jmix.bpmui.screen.modeler.properties.formfield.FormFieldEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<FormFieldModel>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("bpm_FormField.edit")
@UiDescriptor("form-field-edit.xml")
public class FormFieldEdit
extends StandardEditor<FormFieldModel>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected CollectionContainer<FormFieldEnumValueModel>
protected Table<FormFieldEnumValueModel>
protected List<FormFieldModel>
protected List<ProcessVariableModel>
protected InstanceContainer<FormFieldModel>
protected MessageBundle
protected MessageTools
protected Metadata
protected MetadataTools
protected ModelerPropsPanelUiHelper
protected Notifications
protected CollectionContainer<FormFieldPropertyModel>
protected WindowConfig
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Consumer<HasValue.ValueChangeEvent<String>>
createFieldPropertyValueChangeListener
(String formFieldPropertyName) protected FormFieldEnumValueModel
createFormFieldEnumValueModel
(ProcessVariableEnumValueModel variableEnumValue) protected FormFieldPropertyModel
createFormFieldPropertyModel
(ProcessVariablePropertyModel variableProperty) protected void
protected void
protected void
protected void
initFieldsVisibility
(FormFieldModel formField) protected void
protected void
protected void
protected void
protected boolean
isEntityType
(String typeToCheck) protected void
protected void
protected void
protected void
protected void
setDefaultFieldPropertiesValues
(FormFieldModel formField) void
setExistingFormFields
(List<FormFieldModel> existingFormFields) void
setExistingProcessVariables
(List<ProcessVariableModel> existingProcessVariables) protected void
updateFieldsAfterModelChange
(FormFieldModel formField) Methods inherited from class io.jmix.ui.screen.StandardEditor
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, isUiListComponentsValidationEnabled, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
formFieldDc
-
propertiesDc
-
formFieldTypeLookupField
-
uiComponentLookupField
-
metadata
-
metadataTools
-
entityNameLookupField
-
enumClassLookupField
-
queryTextField
-
lookupScreenLookupField
-
windowConfig
-
messageTools
-
messageBundle
-
enumValuesTable
-
enumValuesDc
-
notifications
-
modelerPropsPanelUiHelper
-
processVariableLookup
-
automaticCaptionUpdate
protected boolean automaticCaptionUpdate -
existingProcessVariables
-
existingFormFields
-
-
Constructor Details
-
FormFieldEdit
public FormFieldEdit()
-
-
Method Details
-
onBeforeShow
-
initAutomaticCaptionUpdate
protected void initAutomaticCaptionUpdate() -
onFormFieldDcItemPropertyChange
@Subscribe(id="formFieldDc", target=DATA_CONTAINER) protected void onFormFieldDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<FormFieldModel> event) -
createFormFieldPropertyModel
protected FormFieldPropertyModel createFormFieldPropertyModel(ProcessVariablePropertyModel variableProperty) -
createFormFieldEnumValueModel
protected FormFieldEnumValueModel createFormFieldEnumValueModel(ProcessVariableEnumValueModel variableEnumValue) -
updateFieldsAfterModelChange
-
setDefaultFieldPropertiesValues
-
initFieldsVisibility
-
isEntityType
-
initFormFieldTypeLookupField
protected void initFormFieldTypeLookupField() -
getFormFieldTypesOptionsMap
-
initEntityNameLookupField
protected void initEntityNameLookupField() -
initEnumClassLookupField
protected void initEnumClassLookupField() -
initUiComponentLookupField
protected void initUiComponentLookupField() -
initQueryTextField
protected void initQueryTextField() -
initLookupScreenLookupField
protected void initLookupScreenLookupField() -
createFieldPropertyValueChangeListener
protected Consumer<HasValue.ValueChangeEvent<String>> createFieldPropertyValueChangeListener(String formFieldPropertyName) -
getUiComponentOptionsMap
-
onEnumValuesTableAddActionPerformed
@Subscribe("enumValuesTable.add") protected void onEnumValuesTableAddActionPerformed(Action.ActionPerformedEvent event) -
onBeforeClose
-
setExistingProcessVariables
-
setExistingFormFields
-