Package io.jmix.bpmflowui.processform
Class ProcessFormViewsImpl
java.lang.Object
io.jmix.bpmflowui.processform.ProcessFormViewsImpl
- All Implemented Interfaces:
ProcessFormViews
@Component("bpm_ProcessFormViews")
public class ProcessFormViewsImpl
extends Object
implements ProcessFormViews
-
Field Summary
Modifier and TypeFieldDescriptionprotected ProcessFormDataExtractor
protected List<ProcessFormViewCreator>
protected ProcessFormWindowCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DialogWindow<?>
createStartProcessForm
(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin) protected DialogWindow<?>
createTaskProcessForm
(org.flowable.task.api.Task task, View origin) protected ProcessFormViewCreator
protected ProcessFormViewCreator
getViewCreator
(String formType) void
openStartProcessForm
(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin) void
openStartProcessForm
(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin, Consumer<DialogWindow<?>> dialogCustomizer) void
openTaskProcessForm
(org.flowable.task.api.Task task, View origin) void
openTaskProcessForm
(org.flowable.task.api.Task task, View origin, Consumer<DialogWindow<?>> dialogCustomizer)
-
Field Details
-
processFormWindowCache
-
processFormDataExtractor
-
processFormViewCreators
-
-
Constructor Details
-
ProcessFormViewsImpl
public ProcessFormViewsImpl()
-
-
Method Details
-
openStartProcessForm
public void openStartProcessForm(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin) - Specified by:
openStartProcessForm
in interfaceProcessFormViews
- Parameters:
processDefinition
- to open start form fororigin
- view to open dialog in case ofFormOpenMode.DIALOG
mode is selected for start form. Ignored otherwise.
-
openStartProcessForm
public void openStartProcessForm(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin, Consumer<DialogWindow<?>> dialogCustomizer) - Specified by:
openStartProcessForm
in interfaceProcessFormViews
- Parameters:
processDefinition
- to open start form fororigin
- view to open dialog in case ofFormOpenMode.DIALOG
mode is selected for start formdialogCustomizer
- callback to customizeDialogWindow
. Ignored in case ofFormOpenMode.NAVIGATE
open mode.
-
createStartProcessForm
@Nullable protected DialogWindow<?> createStartProcessForm(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin) -
openTaskProcessForm
- Specified by:
openTaskProcessForm
in interfaceProcessFormViews
- Parameters:
task
- to open form fororigin
- view to open dialog in case ofFormOpenMode.DIALOG
mode is selected for task form. Ignored otherwise.
-
openTaskProcessForm
public void openTaskProcessForm(org.flowable.task.api.Task task, View origin, Consumer<DialogWindow<?>> dialogCustomizer) - Specified by:
openTaskProcessForm
in interfaceProcessFormViews
-
createTaskProcessForm
@Nullable protected DialogWindow<?> createTaskProcessForm(org.flowable.task.api.Task task, View origin) -
getProcessFormDefinitions
- Specified by:
getProcessFormDefinitions
in interfaceProcessFormViews
-
getViewCreator
-
getDefaultViewCreator
-