@ApplicationScoped public class BPMNDiagramEditor extends AbstractDiagramEditor
AbstractDiagramEditor.DiagramEditorCoreDiagramEditorCore.View| Modifier and Type | Field and Description |
|---|---|
protected AbstractKogitoClientDiagramService |
diagramServices |
static String |
EDITOR_ID |
protected String |
formElementUUID |
protected FormsFlushManager |
formsFlushManager |
menuBarInitialized| Constructor and Description |
|---|
BPMNDiagramEditor(DiagramEditorCore.View view,
FileMenuBuilder fileMenuBuilder,
org.uberfire.client.mvp.PlaceManager placeManager,
MultiPageEditorContainerView multiPageEditorContainerView,
javax.enterprise.event.Event<org.uberfire.client.workbench.events.ChangeTitleWidgetEvent> changeTitleNotificationEvent,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
javax.enterprise.event.Event<OnDiagramFocusEvent> onDiagramFocusEvent,
org.uberfire.ext.widgets.core.client.editors.texteditor.TextEditorView xmlEditorView,
org.jboss.errai.ioc.client.api.ManagedInstance<SessionEditorPresenter<EditorSession>> editorSessionPresenterInstances,
org.jboss.errai.ioc.client.api.ManagedInstance<SessionViewerPresenter<ViewerSession>> viewerSessionPresenterInstances,
BPMNStandaloneEditorMenuSessionItems menuSessionItems,
org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopupPresenter,
DiagramClientErrorHandler diagramClientErrorHandler,
ClientTranslationService translationService,
DocumentationView documentationView,
DiagramEditorPreviewAndExplorerDock diagramPreviewAndExplorerDock,
DiagramEditorPropertiesDock diagramPropertiesDock,
LayoutHelper layoutHelper,
OpenDiagramLayoutExecutor openDiagramLayoutExecutor,
AbstractKogitoClientDiagramService diagramServices,
FormsFlushManager formsFlushManager,
CanvasFileExport canvasFileExport,
org.uberfire.client.promise.Promises promises,
CanvasDiagramValidator<AbstractCanvasHandler> validator) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.IsWidget |
asWidget() |
elemental2.promise.Promise |
getContent() |
String |
getEditorIdentifier() |
void |
getMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer) |
elemental2.promise.Promise |
getPreview() |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
boolean |
isDirty() |
protected void |
makeMenuBar() |
void |
onClose() |
void |
onDiagramLoad() |
void |
onFocus() |
void |
onLostFocus() |
boolean |
onMayClose() |
void |
onOpen() |
void |
onStartup(org.uberfire.mvp.PlaceRequest place) |
void |
open(Diagram diagram,
Viewer.Callback callback) |
void |
resetContentHash() |
elemental2.promise.Promise |
setContent(String path,
String value) |
addDocumentationPage, buildMenuBar, doClose, doFocus, doLostFocus, doOpen, doStartUp, getCanvasHandler, getContentSupplier, getCurrentContentHash, getCurrentDiagramHash, getDockQualifiers, getEditor, getFileMenuBuilder, getMenus, getMenuSessionItems, getSessionPresenter, getTranslationService, getView, hideLoadingViews, init, initialiseKieEditorForSession, isSameSession, log, makeAdditionalStunnerMenus, makeCore, newSessionEditorPresenter, newSessionViewerPresenter, onSaveError, showLoadingViews, updateTitleaddPage, getSelectedTabIndex, getWidget, init, isEditorTabSelected, OnClose, onEditTabSelected, onEditTabUnselected, resetEditorPages, selectEditorTab, setSelectedTabdisableMenuItem, enableMenuItem, getBaseEditorView, getOriginalContentHash, getPlaceManager, getPlaceRequest, isReadOnly, mayClose, setMenus, setOriginalContentHashpublic static final String EDITOR_ID
protected final AbstractKogitoClientDiagramService diagramServices
protected final FormsFlushManager formsFlushManager
protected String formElementUUID
@Inject public BPMNDiagramEditor(DiagramEditorCore.View view, FileMenuBuilder fileMenuBuilder, org.uberfire.client.mvp.PlaceManager placeManager, MultiPageEditorContainerView multiPageEditorContainerView, javax.enterprise.event.Event<org.uberfire.client.workbench.events.ChangeTitleWidgetEvent> changeTitleNotificationEvent, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, javax.enterprise.event.Event<OnDiagramFocusEvent> onDiagramFocusEvent, org.uberfire.ext.widgets.core.client.editors.texteditor.TextEditorView xmlEditorView, org.jboss.errai.ioc.client.api.ManagedInstance<SessionEditorPresenter<EditorSession>> editorSessionPresenterInstances, org.jboss.errai.ioc.client.api.ManagedInstance<SessionViewerPresenter<ViewerSession>> viewerSessionPresenterInstances, BPMNStandaloneEditorMenuSessionItems menuSessionItems, org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopupPresenter, DiagramClientErrorHandler diagramClientErrorHandler, ClientTranslationService translationService, DocumentationView documentationView, DiagramEditorPreviewAndExplorerDock diagramPreviewAndExplorerDock, DiagramEditorPropertiesDock diagramPropertiesDock, LayoutHelper layoutHelper, OpenDiagramLayoutExecutor openDiagramLayoutExecutor, AbstractKogitoClientDiagramService diagramServices, FormsFlushManager formsFlushManager, CanvasFileExport canvasFileExport, org.uberfire.client.promise.Promises promises, CanvasDiagramValidator<AbstractCanvasHandler> validator)
public void onStartup(org.uberfire.mvp.PlaceRequest place)
public void open(Diagram diagram, Viewer.Callback callback)
open in interface DiagramEditorCore<Metadata,Diagram>open in class AbstractDiagramEditorpublic void onOpen()
public void onClose()
public void onDiagramLoad()
onDiagramLoad in class AbstractDiagramEditor@OnFocus public void onFocus()
@OnLostFocus public void onLostFocus()
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle in class BaseKogitoEditor<KogitoDiagramResourceImpl>public String getTitleText()
public void getMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer)
protected void makeMenuBar()
makeMenuBar in class AbstractDiagramEditorpublic com.google.gwt.user.client.ui.IsWidget asWidget()
asWidget in class MultiPageEditorContainerPresenter<KogitoDiagramResourceImpl>@OnMayClose public boolean onMayClose()
public String getEditorIdentifier()
public elemental2.promise.Promise getContent()
getContent in class BaseKogitoEditor<KogitoDiagramResourceImpl>public elemental2.promise.Promise getPreview()
public boolean isDirty()
isDirty in class BaseKogitoEditor<KogitoDiagramResourceImpl>public elemental2.promise.Promise setContent(String path, String value)
setContent in class BaseKogitoEditor<KogitoDiagramResourceImpl>public void resetContentHash()
resetContentHash in class BaseKogitoEditor<KogitoDiagramResourceImpl>Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.