Class CustomProcessFormViewCreator
java.lang.Object
io.jmix.bpmflowui.processform.viewcreator.impl.CustomProcessFormViewCreator
- All Implemented Interfaces:
ProcessFormViewCreator
@Component("bpm_CustomProcessFormViewCreator")
@Order
public class CustomProcessFormViewCreator
extends Object
implements ProcessFormViewCreator
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.bpmflowui.processform.viewcreator.ProcessFormViewCreator
ProcessFormViewCreator.CreationContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateStartProcessView
(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to start process form.createUserTaskView
(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to task process form.
-
Constructor Details
-
CustomProcessFormViewCreator
public CustomProcessFormViewCreator()
-
-
Method Details
-
isApplicableFor
- Specified by:
isApplicableFor
in interfaceProcessFormViewCreator
- Returns:
- type of view this viewCreator applicable for
-
createStartProcessView
Description copied from interface:ProcessFormViewCreator
Creates or navigates to start process form. Behaviour depends onFormOpenMode
:FormOpenMode.DIALOG
: creates and initializesDialogWindow
usingcreationContext
according to form type. Then returns it to be customized and then openedFormOpenMode.NAVIGATE
: navigates to form view and initializes it usingcreationContext
. Returnsnull
- Specified by:
createStartProcessView
in interfaceProcessFormViewCreator
- Returns:
DialogWindow
to be customized and opened or null in case ofFormOpenMode.NAVIGATE
-
createUserTaskView
Description copied from interface:ProcessFormViewCreator
Creates or navigates to task process form.Behaviour depends on
FormOpenMode
:FormOpenMode.DIALOG
: creates and initializesDialogWindow
usingcreationContext
according to form type. Then returns it to be customized and then openedFormOpenMode.NAVIGATE
: navigates to form view and initializes it usingcreationContext
. Returnsnull
- Specified by:
createUserTaskView
in interfaceProcessFormViewCreator
- Returns:
DialogWindow
to be customized and opened or null in case ofFormOpenMode.NAVIGATE
-