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.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected JmixButton
protected BpmTenantProvider
protected CoreProperties
protected CurrentUserSubstitution
protected DataContext
protected DataManager
protected ContentStorage
protected DecisionTableModel
protected InstanceContainer<DecisionTableModel>
protected Dialogs
protected DialogWindows
protected org.flowable.dmn.api.DmnRepositoryService
protected DmnXmlParser
protected Downloader
protected FlowableEntitiesConverter
protected com.vaadin.flow.component.html.Div
protected String
protected Messages
protected ModelerPropsPanelUiHelper
protected JmixButton
protected JmixButton
protected Notifications
protected JmixButton
protected CollectionPropertyContainer<Rule>
protected UiComponents
protected FileUploadField
protected ViewValidation
protected CodeEditor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addInputDefinition
(int index) protected void
addOutputDefinition
(int index) protected void
addRule()
protected com.vaadin.flow.component.Component
createColumnDefinitionHeaderComponent
(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) protected String
protected DecisionTableModel
protected void
createGridActionButtons
(JmixGrid<Rule> grid) protected com.vaadin.flow.component.Component
createHitPolicyComponent
(DecisionTableModel decisionTableModel) protected String
protected String
protected String
protected String
protected String
protected org.flowable.dmn.api.DmnDecision
getDmnDecision
(String decisionTableKey) boolean
protected void
onBeforeClose
(View.BeforeCloseEvent beforeCloseEvent) protected void
onBeforeShow
(View.BeforeShowEvent event) void
onDecisionIdFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) void
onDecisionNameFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) protected void
onDeployBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onDownloadDmnXmlBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onOpenDraftBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onSaveDraftBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) void
void
protected void
removeColumnDefinition
(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) void
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods 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:
hasUnsavedChanges
in interfaceChangeTracker
- Returns:
true
if 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
-