Package io.jmix.bpmflowui.view.modeler
Class BpmnModelerView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<ViewLayout>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.bpmflowui.view.modeler.BpmnModelerView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,FacetOwner,FragmentOwner,Serializable
@RouteAlias(value="bpm/bpmnmodelerview",
layout=DefaultMainViewParent.class)
@Route(value="bpm/bpmn-modeler-view",
layout=DefaultMainViewParent.class)
@ViewController("bpm_BpmnModelerView")
@ViewDescriptor("bpmn-modeler-view.xml")
public class BpmnModelerView
extends StandardView
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.html.Divprotected BpmnModelerprotected BpmTenantProviderprotected CopyNameSupportprotected PropertiesFragment<?> protected CurrentUserSubstitutionprotected BaseAction<?> protected Downloaderprotected BaseAction<?> static final Stringprotected org.flowable.engine.ProcessEngineprotected FlowableEntitiesConverterprotected EntityStatesprotected BaseAction<?> protected Iconsprotected ContentStoragestatic final Stringprotected com.vaadin.flow.component.html.Divstatic final Stringprotected Stringprotected PropertiesDispatcherprotected Resourcesprotected RouteSupportprotected BaseAction<?> protected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.html.Spanprotected UiComponentsprotected FileUploadFieldprotected UrlParamSerializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangePropertiesComponent(PropertiesFragment<?> component) protected voidprotected voidprotected StringcreateBpmnXmlFileName(String processId) protected BpmnModelerprotected StringcreateNewSchema(String processId, String name) protected StringgenerateProcessId(String name) protected voidprotected voidprotected voidonBeforeClose(View.BeforeCloseEvent beforeCloseEvent) voidonBeforeShow(View.BeforeShowEvent event) voidonInit(View.InitEvent event) voidprotected voidonUpload(FileUploadSucceededEvent<FileUploadField, byte[]> event) voidsetBpmnXml(String bpmnXml) protected voidsetupDraft(UUID draftId) protected voidsetupProcessDefinition(String processDefId) Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, onDetachInternal, processBeforeEnterInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setPageTitle, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setTestId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
NEW_BPM_SCHEMA_LOCATION
- See Also:
-
DRAFT_ID_URL_QUERY_PARAM
- See Also:
-
PROCESS_DEF_ID_URL_QUERY_PARAM
- See Also:
-
resources
-
downloader
-
engine
@Autowired protected org.flowable.engine.ProcessEngine engine -
propertiesDispatcher
-
currentUserSubstitution
-
bpmTenantProvider
-
entitiesConverter
-
entityStates
-
urlParamSerializer
-
routeSupport
-
uiComponents
-
icons
-
copyNameSupport
-
bpmnContainer
-
panelDiv
-
downloadSchemaAction
-
saveAction
-
folderAction
-
deploySchemaAction
-
uploadSchema
-
schemaSourceTypeSpan
-
schemaSourceNameSpan
-
bpmnModeler
-
currentPropertiesComponent
-
processBpmnXml
-
modelDraft
-
-
Constructor Details
-
BpmnModelerView
public BpmnModelerView()
-
-
Method Details
-
changePropertiesComponent
-
onInit
-
onBeforeShow
-
onBeforeClose
-
onQueryParametersChange
-
initMainLayout
protected void initMainLayout() -
initModelerComponent
protected void initModelerComponent() -
createModeler
-
configureActions
protected void configureActions() -
onUpload
-
setBpmnXml
-
createBpmnXmlFileName
-
createNewSchema
-
generateProcessId
-
clearSchema
protected void clearSchema() -
setupDraft
-
setupProcessDefinition
-