@Dependent public class DMNDiagramEditor extends AbstractProjectDiagramEditor<DMNDiagramResourceType>
AbstractProjectDiagramEditor.View
Modifier and Type | Field and Description |
---|---|
static String |
EDITOR_ID |
editorProxy, projectDiagramServices
alertsButtonMenuItemBuilder, assetUpdateValidator, copyPopUpPresenter, deletePopUpPresenter, fileMenuBuilder, kieView, metadata, overviewWidget, projectController, renamePopUpPresenter, savePopUpPresenter, workbenchContext
baseView, changeTitleNotification, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, fileNameValidator, isReadOnly, isValidationRunning, menuBuilder, menuBuilderManagedInstance, menuItems, menus, metadataOriginalHash, notification, originalHash, place, saveAndRenameCommandBuilder, type, versionRecordManager
Constructor and Description |
---|
DMNDiagramEditor(AbstractProjectDiagramEditor.View view,
org.uberfire.client.mvp.PlaceManager placeManager,
org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopupPresenter,
javax.enterprise.event.Event<org.uberfire.client.workbench.events.ChangeTitleWidgetEvent> changeTitleNotificationEvent,
org.uberfire.ext.editor.commons.client.file.popups.SavePopUpPresenter savePopUpPresenter,
DMNDiagramResourceType resourceType,
ClientProjectDiagramService projectDiagramServices,
org.jboss.errai.ioc.client.api.ManagedInstance<SessionEditorPresenter<EditorSession>> editorSessionPresenterInstances,
org.jboss.errai.ioc.client.api.ManagedInstance<SessionViewerPresenter<ViewerSession>> viewerSessionPresenterInstances,
DMNProjectEditorMenuSessionItems menuSessionItems,
javax.enterprise.event.Event<OnDiagramFocusEvent> onDiagramFocusEvent,
javax.enterprise.event.Event<OnDiagramLoseFocusEvent> onDiagramLostFocusEvent,
ProjectMessagesListener projectMessagesListener,
DiagramClientErrorHandler diagramClientErrorHandler,
ClientTranslationService translationService,
org.uberfire.ext.widgets.core.client.editors.texteditor.TextEditorView xmlEditorView,
org.jboss.errai.common.client.api.Caller<ProjectDiagramResourceService> projectDiagramResourceServiceCaller,
SessionManager sessionManager,
SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
DecisionNavigatorDock decisionNavigatorDock) |
Modifier and Type | Method and Description |
---|---|
protected int |
getCanvasHeight() |
protected int |
getCanvasWidth() |
protected String |
getEditorIdentifier() |
org.uberfire.workbench.model.menu.Menus |
getMenus() |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
com.google.gwt.user.client.ui.IsWidget |
getWidget() |
void |
onClose() |
protected void |
onDiagramLoad() |
void |
onFocus() |
void |
onLostFocus() |
boolean |
onMayClose() |
void |
onOpen() |
void |
onStartup(org.uberfire.backend.vfs.ObservablePath path,
org.uberfire.mvp.PlaceRequest place) |
destroySession, doClose, doFocus, doLostFocus, doOpen, doSave, doSave, doShowNoChangesSinceLastSaveMessage, doStartUp, formatTitle, getCanvasHandler, getContentSupplier, getCurrentContentHash, getCurrentDiagramHash, getDiagram, getEditorProxy, getMenuSessionItems, getSaveAndRename, getSaveAndRenameServiceCaller, getSaveSuccessCallback, getSessionPresenter, getTranslationService, getView, hasUnsavedChanges, hideDiagramEditorDocks, hideLoadingViews, init, initialiseKieEditorForSession, isReadOnly, isSameSession, loadContent, log, makeAdditionalStunnerMenus, makeMenuBar, makeStunnerEditorProxy, makeXmlEditorProxy, newSessionEditorPresenter, newSessionViewerPresenter, onLoadError, onSave, onSaveError, onSaveSuccess, onValidate, onValidationFailed, open, openReadOnlySession, openSession, save, save, setEditorSessionPresenter, setReadOnlySessionPresenter, showDiagramEditorDocks, showError, showError, showLoadingViews, showSavingViews, updateTitle
addCommonActions, addCopy, addDelete, addDownloadMenuItem, addImportsTab, addPage, addRename, addSave, addSourcePage, buildMenuBar, canUpdateProject, createOriginalHash, getCouldNotGenerateSourceErrorCallback, getMetadataSupplier, getNoSuchFileExceptionErrorCallback, getRenameValidator, getSelectedTabIndex, init, init, init, init, isEditorTabSelected, isOverviewTabSelected, mayClose, mayClose, OnClose, onEditTabSelected, onEditTabUnselected, onOverviewSelected, onRepositoryRemoved, onSourceTabSelected, resetEditorPages, saveAction, selectEditorTab, selectOverviewTab, setOriginalHash, setSelectedTab, showVersions, updateSource
addDownloadMenuItem, downloadMenuItem, getCopyServiceCaller, getCopyValidator, getDeleteServiceCaller, getPathSupplier, getRenameServiceCaller, getSaveAndRenameCommandBuilder, getValidateCommand, getVersionRecordManager, init, isDirty, isDirtySupplier, onAfterValidate, onBeforeValidate, onRename, onRestore, onSuccess, reload, setMetadataOriginalHash, showConcurrentUpdatePopup
public static final String EDITOR_ID
@Inject public DMNDiagramEditor(AbstractProjectDiagramEditor.View view, org.uberfire.client.mvp.PlaceManager placeManager, org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopupPresenter, javax.enterprise.event.Event<org.uberfire.client.workbench.events.ChangeTitleWidgetEvent> changeTitleNotificationEvent, org.uberfire.ext.editor.commons.client.file.popups.SavePopUpPresenter savePopUpPresenter, DMNDiagramResourceType resourceType, ClientProjectDiagramService projectDiagramServices, org.jboss.errai.ioc.client.api.ManagedInstance<SessionEditorPresenter<EditorSession>> editorSessionPresenterInstances, org.jboss.errai.ioc.client.api.ManagedInstance<SessionViewerPresenter<ViewerSession>> viewerSessionPresenterInstances, DMNProjectEditorMenuSessionItems menuSessionItems, javax.enterprise.event.Event<OnDiagramFocusEvent> onDiagramFocusEvent, javax.enterprise.event.Event<OnDiagramLoseFocusEvent> onDiagramLostFocusEvent, ProjectMessagesListener projectMessagesListener, DiagramClientErrorHandler diagramClientErrorHandler, ClientTranslationService translationService, org.uberfire.ext.widgets.core.client.editors.texteditor.TextEditorView xmlEditorView, org.jboss.errai.common.client.api.Caller<ProjectDiagramResourceService> projectDiagramResourceServiceCaller, SessionManager sessionManager, @Session SessionCommandManager<AbstractCanvasHandler> sessionCommandManager, DecisionNavigatorDock decisionNavigatorDock)
public void onStartup(org.uberfire.backend.vfs.ObservablePath path, org.uberfire.mvp.PlaceRequest place)
protected int getCanvasWidth()
getCanvasWidth
in class AbstractProjectDiagramEditor<DMNDiagramResourceType>
protected int getCanvasHeight()
getCanvasHeight
in class AbstractProjectDiagramEditor<DMNDiagramResourceType>
public void onOpen()
public void onClose()
protected void onDiagramLoad()
onDiagramLoad
in class AbstractProjectDiagramEditor<DMNDiagramResourceType>
@OnFocus public void onFocus()
@OnLostFocus public void onLostFocus()
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle
in class org.uberfire.ext.editor.commons.client.BaseEditor<ProjectDiagramResource,org.guvnor.common.services.shared.metadata.model.Metadata>
public String getTitleText()
getTitleText
in class AbstractProjectDiagramEditor<DMNDiagramResourceType>
public org.uberfire.workbench.model.menu.Menus getMenus()
getMenus
in class AbstractProjectDiagramEditor<DMNDiagramResourceType>
public com.google.gwt.user.client.ui.IsWidget getWidget()
getWidget
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<ProjectDiagramResource>
@OnMayClose public boolean onMayClose()
protected String getEditorIdentifier()
getEditorIdentifier
in class AbstractProjectDiagramEditor<DMNDiagramResourceType>
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.