Class AssignmentDetailsPropertiesFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.bpmui.screen.modeler.properties.assignmentdetails.AssignmentDetailsPropertiesFragment
- All Implemented Interfaces:
FrameOwner
@UiController("bpm_AssignmentDetailsPropertiesFragment")
@UiDescriptor("assignment-details-properties-fragment.xml")
public class AssignmentDetailsPropertiesFragment
extends ScreenFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected InstanceContainer<AssignmentDetailsModel>
protected BeanMethodModelHelper
protected ClassPathScanner
protected DataContext
protected MessageBundle
protected Metadata
protected BpmnModeler
protected ModelerPropsPanelUiHelper
protected HasAssignmentDetails
protected ProcessFormScreens
protected ScreenBuilders
protected UserDetailsHelper
protected ComboBox<MethodInfo>
protected GroupBoxLayout
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 TypeMethodDescriptionvoid
protected String
buildAssigneeExpression
(AssigneeSource assigneeSource, String assigneeValue) protected String
formFieldToAssigneeExpression
(String formField) Transforms form field or process variable of User type to the UserTask assignee expressionprotected Consumer<HasValue.ValueChangeEvent>
getValueChangeEventConsumer
(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
handleAssignmentModelDcChangeForLane
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) protected void
handleAssignmentModelDcChangeForUserTask
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) void
protected void
protected void
collect process variables with UserDetails typeprotected void
protected void
protected void
protected void
onAssignableDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) protected void
protected void
void
void
void
setModeler
(BpmnModeler modeler) void
setParentModelElement
(HasAssignmentDetails parentModelElement) protected void
updateAssignmentDetailsModel
(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
Methods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
classPathScanner
-
modelerPropsPanelUiHelper
-
metadata
-
dataContext
-
messageBundle
-
beanMethodModelHelper
-
screenBuilders
-
processFormScreens
-
userDetailsHelper
-
assignmentDetailsDc
-
assigneeExpressionField
-
assigneeProcessVariableLookup
-
candidateGroupsField
-
candidateUsersField
-
assigneeUserProviderLookup
-
userProviderMethodNameLookup
-
userProviderMethodParamsBox
-
modeler
-
parentModelElement
-
-
Constructor Details
-
AssignmentDetailsPropertiesFragment
public AssignmentDetailsPropertiesFragment()
-
-
Method Details
-
setModeler
-
setParentModelElement
-
initAssigneeProcessVariableLookupField
protected void initAssigneeProcessVariableLookupField()collect process variables with UserDetails type -
initAssigneeExpressionField
protected void initAssigneeExpressionField() -
initUserProviderLookup
protected void initUserProviderLookup() -
initFieldsVisibility
protected void initFieldsVisibility() -
onAssignableDcItemPropertyChange
@Subscribe(id="assignmentDetailsDc", target=DATA_CONTAINER) protected void onAssignableDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) -
handleAssignmentModelDcChangeForLane
protected void handleAssignmentModelDcChangeForLane(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) -
handleAssignmentModelDcChangeForUserTask
protected void handleAssignmentModelDcChangeForUserTask(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) -
assigneeProcessVariableLookupEnterPressHandler
@Install(to="assigneeProcessVariableLookup", subject="enterPressHandler") public void assigneeProcessVariableLookupEnterPressHandler(HasEnterPressHandler.EnterPressEvent event) -
handleMultiInstanceCollectionChangedEvent
@EventListener public void handleMultiInstanceCollectionChangedEvent(MultiInstanceCollectionChangedEvent event) -
onEditCandidateGroupsBtnClick
@Subscribe("editCandidateGroupsBtn") protected void onEditCandidateGroupsBtnClick(Button.ClickEvent event) -
onEditCandidateUsersBtnClick
@Subscribe("editCandidateUsersBtn") protected void onEditCandidateUsersBtnClick(Button.ClickEvent event) -
onUserProviderFieldValueChange
@Subscribe("assigneeUserProviderLookup") public void onUserProviderFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onUserProviderMethodNameFieldValueChange
@Subscribe("userProviderMethodNameLookup") public void onUserProviderMethodNameFieldValueChange(HasValue.ValueChangeEvent<MethodInfo> event) -
getValueChangeEventConsumer
protected Consumer<HasValue.ValueChangeEvent> getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
updateAssignmentDetailsModel
protected void updateAssignmentDetailsModel(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
formFieldToAssigneeExpression
Transforms form field or process variable of User type to the UserTask assignee expression -
buildAssigneeExpression
-
listenForAssigneeValueChange
-
updateLaneAssignmentDetailsInModeler
protected void updateLaneAssignmentDetailsInModeler()
-