Class DecisionTableModelerScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.bpmui.screen.decisiontablemodeler.DecisionTableModelerScreen
- All Implemented Interfaces:
ChangeTracker
,FrameOwner
@UiController("bpm_DecisionTableModelerScreen")
@UiDescriptor("decision-table-modeler-screen.xml")
@MultipleOpen
public class DecisionTableModelerScreen
extends Screen
implements ChangeTracker
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Button
protected BpmTenantProvider
protected ComponentRendererProvider
protected CoreProperties
protected CurrentUserSubstitution
protected DataContext
protected DataManager
protected ContentStorage
protected DecisionTableModel
protected InstanceContainer<DecisionTableModel>
protected Dialogs
protected org.flowable.dmn.api.DmnRepositoryService
protected DmnXmlParser
protected Downloader
protected FlowableEntitiesConverter
protected VBoxLayout
protected Icons
protected String
protected MessageBundle
protected Messages
protected ModelerPropsPanelUiHelper
protected Button
protected Button
protected Notifications
protected Button
protected CollectionPropertyContainer<Rule>
protected ScreenBuilders
protected ScreenValidation
protected UiComponents
protected FileUploadField
protected SourceCodeEditor
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addInputDefinition
(int index) protected void
addOutputDefinition
(int index) protected void
addRule()
protected Component
createColumnDefinitionHeaderComponent
(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) createDataGrid
(DecisionTableModel decisionTableModel) protected String
protected DecisionTableModel
protected void
createGridActionButtons
(DataGrid<Rule> grid) protected Component
createHitPolicyComponent
(DecisionTableModel decisionTableModel) protected HBoxLayout
createJoiningHeaderCell
(String captionMessageKey) protected String
protected String
protected String
protected String
protected String
boolean
protected void
onBeforeClose
(Screen.BeforeCloseEvent beforeCloseEvent) protected void
protected void
onCloseBtnClick
(Button.ClickEvent event) protected void
protected void
protected void
protected void
protected void
protected void
protected void
removeColumnDefinition
(ColumnDefinition columnDefinition, List<? extends ColumnDefinition> columnDefinitionCollection) void
protected void
updateModelerScreenCaption
(String decisionId) Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
coreProperties
-
dmnRepositoryService
@Autowired protected org.flowable.dmn.api.DmnRepositoryService dmnRepositoryService -
entitiesConverter
-
dmnXmlParser
-
notifications
-
messageBundle
-
screenBuilders
-
dataContext
-
uiComponents
-
dialogs
-
messages
-
screenValidation
-
modelerPropsPanelUiHelper
-
downloader
-
currentUserSubstitution
-
bpmTenantProvider
-
componentRendererProvider
-
gridContainer
-
rulesDc
-
decisionTableModelDc
-
addRuleBtn
-
removeRuleBtn
-
icons
-
moveRuleDownBtn
-
moveRuleUpBtn
-
xmlEditor
-
uploadDmnXmlBtn
-
dataManager
-
grid
-
decisionTableModel
-
initialDmnXml
-
decisionTableDraft
-
-
Constructor Details
-
DecisionTableModelerScreen
public DecisionTableModelerScreen()
-
-
Method Details
-
setDmnXml
-
onBeforeShow
-
createEmptyDecisionTableModel
-
createDataGrid
-
createGridActionButtons
-
createJoiningHeaderCell
-
createHitPolicyComponent
-
createColumnDefinitionHeaderComponent
protected 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
-
createDmnFileName
-
onCloseBtnClick
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChanges
in interfaceChangeTracker
- Returns:
- true if screen has unsaved changes
-
onBeforeClose
-
onTabsheetSelectedTabChange
@Subscribe("tabsheet") protected void onTabsheetSelectedTabChange(TabSheet.SelectedTabChangeEvent event) -
onUploadDmnXmlBtnFileUploadSucceed
@Subscribe("uploadDmnXmlBtn") protected void onUploadDmnXmlBtnFileUploadSucceed(SingleFileUploadField.FileUploadSucceedEvent event) -
onDownloadDmnXmlBtnClick
-
onOpenDraftBtnClick
-
onSaveDraftBtnClick
-
updateModelerScreenCaption
-
generateRandomString
-
generateInputDefinitionId
-
generateInputEntryId
-
generateOutputDefinitionId
-
generateOutputEntryId
-