Package io.jmix.bpmui.screen.modeler
Class BpmnModelerScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.bpmui.screen.modeler.BpmnModelerScreen
- All Implemented Interfaces:
ChangeTracker
,FrameOwner
@UiController("bpm_BpmnModelerScreen")
@UiDescriptor("bpmn-modeler-screen.xml")
@MultipleOpen
public class BpmnModelerScreen
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 BpmnXmlParser
protected BpmTenantProvider
protected CoreProperties
protected CurrentUserSubstitution
protected DataManager
protected Dialogs
protected DispatcherPropertiesFragment
protected Downloader
protected FlowableEntitiesConverter
protected Icons
protected String
protected MessageBundle
protected Messages
protected ContentStorage
protected BpmnModeler
protected String
protected Notifications
protected org.flowable.engine.RepositoryService
protected Resources
protected ScreenBuilders
protected FileUploadField
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 String
createBpmnXmlFileName
(String processId) protected void
deployProcess
(Button.ClickEvent event) protected void
downloadProcess
(Button.ClickEvent event) protected String
boolean
protected void
protected void
onBeforeClose
(Screen.BeforeCloseEvent beforeCloseEvent) protected void
protected void
onCloseBtnClick
(Button.ClickEvent event) protected void
protected void
protected void
protected void
void
setBpmnXml
(String bpmnXml) protected void
updateModelerScreenCaption
(String processId) 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
-
modeler
-
resources
-
downloader
-
repositoryService
@Autowired protected org.flowable.engine.RepositoryService repositoryService -
entitiesConverter
-
dispatcherPropertiesFragment
-
dataManager
-
notifications
-
dialogs
-
screenBuilders
-
messageBundle
-
uploadDiagramBtn
-
messages
-
icons
-
bpmnXmlParser
-
currentUserSubstitution
-
bpmTenantProvider
-
newProcessBpmnXml
-
initialBpmnXml
-
modelDraft
-
-
Constructor Details
-
BpmnModelerScreen
public BpmnModelerScreen()
-
-
Method Details
-
onUploadDiagramBtnValueChange
@Subscribe("uploadDiagramBtn") protected void onUploadDiagramBtnValueChange(HasValue.ValueChangeEvent<FileDescriptor> event) -
initNewDiagram
protected void initNewDiagram() -
onBeforeShow
-
onBeforeClose
-
setBpmnXml
-
getNewProcessBpmnXml
-
downloadProcess
-
onSaveDraftBtnClick
-
onOpenDraftBtnClick
-
deployProcess
-
createBpmnXmlFileName
-
onElementSelected
-
onCloseBtnClick
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChanges
in interfaceChangeTracker
- Returns:
- true if screen has unsaved changes
-
updateModelerScreenCaption
-