Class BpmnEditorPresenter
- java.lang.Object
-
- org.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
- org.uberfire.ext.wires.bpmn.client.editor.BpmnEditorPresenter
-
@Dependent public class BpmnEditorPresenter extends org.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
-
Field Summary
-
Fields inherited from class org.uberfire.ext.editor.commons.client.BaseEditor
baseView, changeTitleNotification, concurrentChangePopup, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, deletePopUpPresenter, fileNameValidator, isReadOnly, isValidationRunning, makeMenuBarPromise, menuBuilder, menuBuilderManagedInstance, menuItems, menus, metadataOriginalHash, notification, originalHash, place, placeManager, promises, saveAndRenameCommandBuilder, saveWithComments, type, versionRecordManager
-
-
Constructor Summary
Constructors Constructor Description BpmnEditorPresenter(BpmnEditorView baseView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Supplier<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode>getContentSupplier()voidgetMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer)protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>>getSaveAndRenameServiceCaller()com.google.gwt.user.client.ui.IsWidgetgetTitle()StringgetTitleText()org.uberfire.client.mvp.UberView<BpmnEditorPresenter>getWidget()protected voidloadContent()booleanonMayClose()voidonStartup(org.uberfire.backend.vfs.ObservablePath path, org.uberfire.mvp.PlaceRequest place)-
Methods inherited from class org.uberfire.ext.editor.commons.client.BaseEditor
addDownloadMenuItem, buildMenuBar, disableMenuItem, downloadMenuItem, enableMenuItem, getBeforeSaveAndRenameCommand, getCopyServiceCaller, getCopyValidator, getCurrentContentHash, getDeleteServiceCaller, getMetadataSupplier, getPathSupplier, getRenameServiceCaller, getRenameValidator, getSaveAndRename, getSaveAndRenameCommandBuilder, getSaveSuccessCallback, getSaveValidator, getValidateCommand, getVersionRecordManager, init, init, init, isDirty, isDirtySupplier, makeMenuBar, mayClose, onAfterValidate, onBeforeValidate, onRename, onRestore, onSave, onSuccess, onValidate, reload, save, setMetadataOriginalHash, setOriginalHash, showConcurrentUpdatePopup, showVersions
-
-
-
-
Constructor Detail
-
BpmnEditorPresenter
@Inject public BpmnEditorPresenter(BpmnEditorView baseView)
-
-
Method Detail
-
onStartup
public void onStartup(org.uberfire.backend.vfs.ObservablePath path, org.uberfire.mvp.PlaceRequest place)
-
getTitle
public com.google.gwt.user.client.ui.IsWidget getTitle()
- Overrides:
getTitlein classorg.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
getTitleText
public String getTitleText()
- Overrides:
getTitleTextin classorg.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
getMenus
public void getMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer)
- Overrides:
getMenusin classorg.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
getWidget
public org.uberfire.client.mvp.UberView<BpmnEditorPresenter> getWidget()
-
onMayClose
@OnMayClose public boolean onMayClose()
-
loadContent
protected void loadContent()
- Specified by:
loadContentin classorg.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
getContentSupplier
protected Supplier<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode> getContentSupplier()
- Overrides:
getContentSupplierin classorg.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
getSaveAndRenameServiceCaller
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>> getSaveAndRenameServiceCaller()
- Overrides:
getSaveAndRenameServiceCallerin classorg.uberfire.ext.editor.commons.client.BaseEditor<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode,org.uberfire.ext.wires.bpmn.api.service.todo.Metadata>
-
-