Class ProcessDefinitionEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<ProcessDefinitionData>
io.jmix.bpmui.screen.processdefinition.ProcessDefinitionEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<ProcessDefinitionData>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("bpm_ProcessDefinition.edit")
@UiDescriptor("process-definition-edit.xml")
public class ProcessDefinitionEdit
extends StandardEditor<ProcessDefinitionData>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
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 SourceCodeEditor
protected BpmTenantProvider
protected Dialogs
protected FlowableEntitiesConverter
protected Messages
protected InstanceContainer<ProcessDefinitionData>
protected CollectionContainer<ProcessInstanceData>
static final CloseAction
protected org.flowable.engine.RepositoryService
protected org.flowable.engine.RuntimeService
protected ScreenBuilders
protected Button
protected ComboBox<ProcessDefinitionData>
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
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
protected void
protected void
initProcessInstances
(ProcessDefinitionData processDefinition) protected void
initVersionLookup
(ProcessDefinitionData processDefinition) protected void
protected void
protected void
protected void
protected void
protected void
void
protected void
protected void
Methods inherited from class io.jmix.ui.screen.StandardEditor
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, isUiListComponentsValidationEnabled, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
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, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
REMOVE_PROCESS_DEFINITION_CLOSE_ACTION
-
repositoryService
@Autowired protected org.flowable.engine.RepositoryService repositoryService -
runtimeService
@Autowired protected org.flowable.engine.RuntimeService runtimeService -
entitiesConverter
-
dialogs
-
messages
-
bpmTenantProvider
-
bpmnXmlEditor
-
processDefinitionDataDc
-
processInstanceDataDc
-
versionComboBox
-
screenBuilders
-
suspendBtn
-
activateBtn
-
currentVersionsInstancesCountLbl
-
allVersionsInstancesCountLbl
-
-
Constructor Details
-
ProcessDefinitionEdit
public ProcessDefinitionEdit()
-
-
Method Details
-
onBeforeShow
-
initVersionLookup
-
initActionButtons
protected void initActionButtons() -
initInstancesCountLabels
protected void initInstancesCountLabels() -
onProcessDefinitionDcItemChange
@Subscribe(id="processDefinitionDataDc", target=DATA_CONTAINER) protected void onProcessDefinitionDcItemChange(InstanceContainer.ItemChangeEvent<ProcessDefinitionData> event) -
reloadProcessDefinitionData
protected void reloadProcessDefinitionData() -
onTabsheetSelectedTabChange
@Subscribe("tabsheet") public void onTabsheetSelectedTabChange(TabSheet.SelectedTabChangeEvent event) -
onVersionLookupValueChange
@Subscribe("versionComboBox") protected void onVersionLookupValueChange(HasValue.ValueChangeEvent<ProcessDefinitionData> event) -
initProcessInstances
-
onActivateBtnClick
-
onSuspendBtnClick
-
onMigrateAllProcessInstancesBtnClick
@Subscribe("migrateAllProcessInstancesBtn") protected void onMigrateAllProcessInstancesBtnClick(Button.ClickEvent event) -
onDeleteDeploymentBtnClick
@Subscribe("deleteDeploymentBtn") protected void onDeleteDeploymentBtnClick(Button.ClickEvent event)
-