Class 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
    • 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()  
      void getMenus​(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.IsWidget getTitle()  
      String getTitleText()  
      org.uberfire.client.mvp.UberView<BpmnEditorPresenter> getWidget()  
      protected void loadContent()  
      boolean onMayClose()  
      void onStartup​(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:
        getTitle in class 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>
      • getTitleText

        public String getTitleText()
        Overrides:
        getTitleText in class 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>
      • getMenus

        public void getMenus​(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer)
        Overrides:
        getMenus in class 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>
      • onMayClose

        @OnMayClose
        public boolean onMayClose()
      • loadContent

        protected void loadContent()
        Specified by:
        loadContent in class 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>
      • getContentSupplier

        protected Supplier<org.uberfire.ext.wires.bpmn.api.model.impl.nodes.ProcessNode> getContentSupplier()
        Overrides:
        getContentSupplier in class 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>
      • 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:
        getSaveAndRenameServiceCaller in class 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>