Class VariableInstanceDataEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<VariableInstanceData>
io.jmix.bpmui.screen.processvariable.VariableInstanceDataEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<VariableInstanceData>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("bpm_VariableInstanceData.edit")
@UiDescriptor("variable-instance-data-edit.xml")
public class VariableInstanceDataEdit
extends StandardEditor<VariableInstanceData>
-
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 Actions
protected DatatypeRegistry
protected boolean
protected MessageBundle
protected Metadata
protected org.flowable.engine.RuntimeService
protected UiComponents
protected HBoxLayout
protected InstanceContainer<VariableInstanceData>
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 TypeMethodDescriptioncommitDelegate
(SaveContext saveContext) protected void
protected Field
createComponent
(VariableInstanceData variableInstance) protected DateField
createDateField
(org.springframework.core.ParameterizedTypeReference typeReference, DateField.Resolution resolution) protected EntityPicker
createEntityPickerField
(MetaClass metaClass) protected FileUploadField
createFileUploadField
(FileDescription fileDescription) createOutcomesContainerReadOnlyTextArea
(OutcomesContainer outcomesContainer) protected TextField
createTextField
(Class clazz) protected ValuesPicker
createValuesPickerField
(MetaClass entityName) protected void
protected void
protected void
void
void
onVariableInstanceDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<VariableInstanceData> event) void
protected void
setupValueComponent
(Field valueComponent) 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
-
runtimeService
@Autowired protected org.flowable.engine.RuntimeService runtimeService -
datatypeRegistry
-
uiComponents
-
messageBundle
-
metadata
-
actions
-
variableInstanceDc
-
typeNameComboBox
-
valueComponentBox
-
nameField
-
isEditing
protected boolean isEditing
-
-
Constructor Details
-
VariableInstanceDataEdit
public VariableInstanceDataEdit()
-
-
Method Details
-
onBeforeShow
-
initTypeLookup
protected void initTypeLookup() -
initEntityNameLookup
protected void initEntityNameLookup() -
initValueComponent
protected void initValueComponent() -
createAndSetupInfoComponent
protected void createAndSetupInfoComponent() -
setupValueComponent
-
createComponent
-
createDateField
protected DateField createDateField(org.springframework.core.ParameterizedTypeReference typeReference, DateField.Resolution resolution) -
createTextField
-
createOutcomesContainerReadOnlyTextArea
protected TextArea<String> createOutcomesContainerReadOnlyTextArea(OutcomesContainer outcomesContainer) -
createFileUploadField
-
createEntityPickerField
-
createValuesPickerField
-
setupForEditing
public void setupForEditing() -
commitDelegate
-
onVariableInstanceDcItemPropertyChange
@Subscribe(id="variableInstanceDc", target=DATA_CONTAINER) public void onVariableInstanceDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<VariableInstanceData> event)
-