Class DecisionTableModelerView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.bpmflowui.view.decisiontablemodeler.DecisionTableModelerView
- 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,FragmentOwner,ChangeTracker,Serializable
@Route(value="bpm/dmnmodelerview",
layout=DefaultMainViewParent.class)
@ViewController("bpm_DecisionTableModelerView")
@ViewDescriptor("decision-table-modeler-view.xml")
public class DecisionTableModelerView
extends StandardView
implements ChangeTracker
- 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 JmixButtonprotected BpmTenantProviderprotected CorePropertiesprotected CurrentUserSubstitutionprotected DataContextprotected DataManagerprotected ContentStorageprotected DecisionTableModelprotected InstanceContainer<DecisionTableModel>protected Dialogsprotected DialogWindowsprotected org.flowable.dmn.api.DmnRepositoryServiceprotected DmnXmlParserprotected Downloaderprotected FlowableEntitiesConverterprotected com.vaadin.flow.component.html.Divprotected Stringprotected Messagesprotected ModelerPropsPanelUiHelperprotected JmixButtonprotected JmixButtonprotected Notificationsprotected JmixButtonprotected CollectionPropertyContainer<Rule>protected UiComponentsprotected FileUploadFieldprotected ViewValidationprotected CodeEditor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddInputDefinition(int index) protected voidaddOutputDefinition(int index) protected voidaddRule()protected com.vaadin.flow.component.ComponentcreateColumnDefinitionHeaderComponent(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) protected Stringprotected DecisionTableModelprotected voidcreateGridActionButtons(JmixGrid<Rule> grid) protected com.vaadin.flow.component.ComponentcreateHitPolicyComponent(DecisionTableModel decisionTableModel) protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected org.flowable.dmn.api.DmnDecisiongetDmnDecision(String decisionTableKey) booleanprotected voidonBeforeClose(View.BeforeCloseEvent beforeCloseEvent) protected voidonBeforeShow(View.BeforeShowEvent event) voidonDecisionIdFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) voidonDecisionNameFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) protected voidonDeployBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonDownloadDmnXmlBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonOpenDraftBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonSaveDraftBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidvoidprotected voidremoveColumnDefinition(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) voidMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, 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 io.jmix.flowui.view.ChangeTracker
clearChangesMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
coreProperties
-
dmnRepositoryService
@Autowired protected org.flowable.dmn.api.DmnRepositoryService dmnRepositoryService -
entitiesConverter
-
dmnXmlParser
-
notifications
-
dialogWindows
-
uiComponents
-
dialogs
-
messages
-
viewValidation
-
modelerPropsPanelUiHelper
-
downloader
-
dataManager
-
currentUserSubstitution
-
bpmTenantProvider
-
dataContext
-
gridContainer
-
rulesDc
-
decisionTableModelDc
-
addRuleBtn
-
removeRuleBtn
-
moveRuleDownBtn
-
moveRuleUpBtn
-
xmlEditor
-
uploadDmnXmlBtn
-
grid
-
decisionTableModel
-
initialDmnXml
-
decisionTableDraft
-
-
Constructor Details
-
DecisionTableModelerView
public DecisionTableModelerView()
-
-
Method Details
-
setDmnXml
-
onBeforeShow
-
createEmptyDecisionTableModel
-
createDataGrid
-
createGridActionButtons
-
createHitPolicyComponent
protected com.vaadin.flow.component.Component createHitPolicyComponent(DecisionTableModel decisionTableModel) -
createColumnDefinitionHeaderComponent
protected com.vaadin.flow.component.Component createColumnDefinitionHeaderComponent(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) -
addRule
protected void addRule() -
addInputDefinition
protected void addInputDefinition(int index) -
addOutputDefinition
protected void addOutputDefinition(int index) -
removeColumnDefinition
protected void removeColumnDefinition(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) -
onDeployBtnClick
@Subscribe("deployBtn") protected void onDeployBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
getDmnDecision
-
createDmnFileName
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChangesin interfaceChangeTracker- Returns:
trueif the view has unsaved changes
-
onBeforeClose
-
onDecisionIdFieldComponentValueChange
@Subscribe("decisionIdField") public void onDecisionIdFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) -
onDecisionNameFieldComponentValueChange
@Subscribe("decisionNameField") public void onDecisionNameFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) -
onTabsheetSelectedChange
-
onUploadDmnXmlBtnFileUploadSucceeded
@Subscribe("uploadDmnXmlBtn") public void onUploadDmnXmlBtnFileUploadSucceeded(FileUploadSucceededEvent<FileUploadField> event) -
onDownloadDmnXmlBtnClick
@Subscribe("downloadDmnXmlBtn") protected void onDownloadDmnXmlBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onOpenDraftBtnClick
@Subscribe("openDraftBtn") protected void onOpenDraftBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onSaveDraftBtnClick
@Subscribe("saveDraftBtn") protected void onSaveDraftBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
generateRandomString
-
generateInputDefinitionId
-
generateInputEntryId
-
generateOutputDefinitionId
-
generateOutputEntryId
-