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, 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:
  • Field Details

  • Constructor Details

    • DecisionTableModelerView

      public DecisionTableModelerView()
  • Method Details

    • setDmnXml

      public void setDmnXml(String dmnXml)
    • onBeforeShow

      @Subscribe protected void onBeforeShow(View.BeforeShowEvent event)
    • createEmptyDecisionTableModel

      protected DecisionTableModel createEmptyDecisionTableModel()
    • createDataGrid

      public JmixGrid<Rule> createDataGrid()
    • createGridActionButtons

      protected void createGridActionButtons(JmixGrid<Rule> grid)
    • 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)
    • createDmnFileName

      protected String createDmnFileName()
    • hasUnsavedChanges

      public boolean hasUnsavedChanges()
      Specified by:
      hasUnsavedChanges in interface ChangeTracker
      Returns:
      true if the view has unsaved changes
    • onBeforeClose

      @Subscribe protected void onBeforeClose(View.BeforeCloseEvent beforeCloseEvent)
    • 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

      @Subscribe("tabsheet") public void onTabsheetSelectedChange(JmixTabSheet.SelectedChangeEvent event)
    • 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

      protected String generateRandomString()
    • generateInputDefinitionId

      protected String generateInputDefinitionId()
    • generateInputEntryId

      protected String generateInputEntryId()
    • generateOutputDefinitionId

      protected String generateOutputDefinitionId()
    • generateOutputEntryId

      protected String generateOutputEntryId()