Interface ProcessFormViewCreator
- All Known Implementing Classes:
CustomProcessFormViewCreator,DefaultProcessFormViewCreator,InputDialogProcessFormViewCreator,JmixViewProcessFormViewCreator,NoFormProcessFormViewCreator
public interface ProcessFormViewCreator
Classes that implement the interface are responsible for creation of start and task forms with a particular form type.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionDialogWindow<?>createStartProcessView(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to start process form.DialogWindow<?>createUserTaskView(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to task process form.
-
Method Details
-
isApplicableFor
String isApplicableFor()- Returns:
- type of view this viewCreator applicable for
-
createStartProcessView
@Nullable DialogWindow<?> createStartProcessView(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to start process form. Behaviour depends onFormOpenMode:FormOpenMode.DIALOG: creates and initializesDialogWindowusingcreationContextaccording to form type. Then returns it to be customized and then openedFormOpenMode.NAVIGATE: navigates to form view and initializes it usingcreationContext. Returnsnull
- Returns:
DialogWindowto be customized and opened or null in case ofFormOpenMode.NAVIGATE
-
createUserTaskView
@Nullable DialogWindow<?> createUserTaskView(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to task process form.Behaviour depends on
FormOpenMode:FormOpenMode.DIALOG: creates and initializesDialogWindowusingcreationContextaccording to form type. Then returns it to be customized and then openedFormOpenMode.NAVIGATE: navigates to form view and initializes it usingcreationContext. Returnsnull
- Returns:
DialogWindowto be customized and opened or null in case ofFormOpenMode.NAVIGATE
-