Class DecisionTableModelerView
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.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,FacetOwner,FragmentOwner,ChangeTracker,Serializable
@RouteAlias(value="bpm/dmnmodelerview",
layout=DefaultMainViewParent.class)
@Route(value="bpm/dmn-modeler-view",
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 DataManagerstatic final Stringprotected ContentStorageprotected DecisionTableModelprotected InstanceContainer<DecisionTableModel> protected Dialogsprotected DialogWindowsprotected org.flowable.dmn.api.DmnRepositoryServiceprotected DmnXmlParserprotected Downloaderprotected FlowableEntitiesConverterprotected com.vaadin.flow.component.html.Divprotected Iconsprotected Stringprotected Messagesprotected ModelerPropsPanelUiHelperprotected JmixButtonprotected JmixButtonprotected Notificationsprotected JmixButtonprotected RouteSupportprotected CollectionPropertyContainer<Rule> protected UiComponentsprotected FileUploadFieldprotected UrlParamSerializerprotected ViewValidationprotected CodeEditor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddInputDefinition(int index) protected voidaddOutputDefinition(int index) protected voidaddRule()protected voidprotected 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) voidvoidvoidvoidvoidvoidvoidprotected voidremoveColumnDefinition(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) voidprotected voidsetupDecisionDefinition(String decisionDefId) 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, setVisible, whenAttachedMethods 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, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
DECISION_DEF_ID_URL_QUERY_PARAM
- See Also:
-
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
-
icons
-
urlParamSerializer
-
routeSupport
-
grid
-
decisionTableModel
-
initialDmnXml
-
decisionTableDraft
-
-
Constructor Details
-
DecisionTableModelerView
public DecisionTableModelerView()
-
-
Method Details
-
setDmnXml
-
onBeforeShow
-
onQueryParametersChange
-
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) -
onDeployAction
-
getDmnDecision
-
setupDecisionDefinition
-
clearSourceQueryParameters
protected void clearSourceQueryParameters() -
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, byte[]> event) -
onDownloadAction
-
onOpenDraftAction
-
onSaveDraftAction
-
generateRandomString
-
generateInputDefinitionId
-
generateInputEntryId
-
generateOutputDefinitionId
-
generateOutputEntryId
-