@Dependent public class DecisionTableXLSEditorPresenter extends org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent> implements DecisionTableXLSEditorView.Presenter
Modifier and Type | Field and Description |
---|---|
static String |
EDITOR_ID |
alertsButtonMenuItemBuilder, assetUpdateValidator, copyPopUpPresenter, docks, fileMenuBuilder, kieView, metadata, overviewWidget, perspectiveManager, projectController, renamePopUpPresenter, savePopUpPresenter, workbenchContext
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 and Description |
---|
DecisionTableXLSEditorPresenter(DecisionTableXLSEditorView baseView,
DecisionTableXLSResourceType decisionTableXLSResourceType,
DecisionTableXLSXResourceType decisionTableXLSXResourceType,
org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView,
org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup validationPopup,
org.jboss.errai.common.client.api.Caller<DecisionTableXLSService> decisionTableXLSService,
org.jboss.errai.common.client.api.Caller<org.guvnor.common.services.shared.metadata.MetadataService> metadataService) |
Modifier and Type | Method and Description |
---|---|
protected org.uberfire.workbench.model.menu.MenuItem |
getConvertMenu() |
protected String |
getEditorIdentifier() |
void |
getMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer) |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
com.google.gwt.user.client.ui.IsWidget |
getWidget() |
protected void |
loadContent() |
protected elemental2.promise.Promise<Void> |
makeMenuBar() |
void |
onClose() |
void |
onSourceTabSelected() |
void |
onStartup(org.uberfire.backend.vfs.ObservablePath path,
org.uberfire.mvp.PlaceRequest place) |
void |
onUpload() |
void |
onUploadSuccess() |
protected void |
onValidate(org.uberfire.mvp.Command finished) |
protected void |
save(String commitMessage) |
addCommonActions, addCopy, addDelete, addDownloadMenuItem, addImportsTab, addPage, addRename, addSave, addSourcePage, addTabBarWidget, buildMenuBar, createOriginalHash, getCouldNotGenerateSourceErrorCallback, getMetadataSupplier, getNoSuchFileExceptionErrorCallback, getRenameValidator, getSelectedTabIndex, hideDocks, init, init, init, init, isEditorTabSelected, isOverviewTabSelected, mayClose, mayClose, onEditTabSelected, onEditTabUnselected, onHideDocks, onOverviewSelected, onRepositoryRemoved, onSave, onShowDiagramEditorDocks, registerDock, resetEditorPages, resetEditorPagesOnLoadError, resetMetadata, save, saveAction, selectEditorTab, selectOverviewTab, setOriginalHash, setSelectedTab, showDocks, showVersions, updateSource, verifyEventIdentifier
addDownloadMenuItem, disableMenuItem, downloadMenuItem, enableMenuItem, getBeforeSaveAndRenameCommand, getContentSupplier, getCopyServiceCaller, getCopyValidator, getCurrentContentHash, getDeleteServiceCaller, getPathSupplier, getRenameServiceCaller, getSaveAndRename, getSaveAndRenameCommandBuilder, getSaveAndRenameServiceCaller, getSaveSuccessCallback, getSaveValidator, getValidateCommand, getVersionRecordManager, init, isDirty, isDirtySupplier, onAfterValidate, onBeforeValidate, onRename, onRestore, onSuccess, reload, setMetadataOriginalHash, showConcurrentUpdatePopup
public static final String EDITOR_ID
@Inject public DecisionTableXLSEditorPresenter(DecisionTableXLSEditorView baseView, DecisionTableXLSResourceType decisionTableXLSResourceType, DecisionTableXLSXResourceType decisionTableXLSXResourceType, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup validationPopup, org.jboss.errai.common.client.api.Caller<DecisionTableXLSService> decisionTableXLSService, org.jboss.errai.common.client.api.Caller<org.guvnor.common.services.shared.metadata.MetadataService> metadataService)
public void onStartup(org.uberfire.backend.vfs.ObservablePath path, org.uberfire.mvp.PlaceRequest place)
public void onUpload()
onUpload
in interface DecisionTableXLSEditorView.Presenter
public void onUploadSuccess()
onUploadSuccess
in interface DecisionTableXLSEditorView.Presenter
protected void loadContent()
loadContent
in class org.uberfire.ext.editor.commons.client.BaseEditor<DecisionTableXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
public void onSourceTabSelected()
onSourceTabSelected
in interface org.kie.workbench.common.widgets.metadata.client.KieEditorWrapperView.KieEditorWrapperPresenter
onSourceTabSelected
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent>
protected void onValidate(org.uberfire.mvp.Command finished)
onValidate
in class org.uberfire.ext.editor.commons.client.BaseEditor<DecisionTableXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
protected void save(String commitMessage)
save
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent>
protected elemental2.promise.Promise<Void> makeMenuBar()
makeMenuBar
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent>
protected org.uberfire.workbench.model.menu.MenuItem getConvertMenu()
protected String getEditorIdentifier()
getEditorIdentifier
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent>
public void onClose()
onClose
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent>
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle
in class org.uberfire.ext.editor.commons.client.BaseEditor<DecisionTableXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
public String getTitleText()
getTitleText
in class org.uberfire.ext.editor.commons.client.BaseEditor<DecisionTableXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
public com.google.gwt.user.client.ui.IsWidget getWidget()
getWidget
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<DecisionTableXLSContent>
public void getMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer)
getMenus
in class org.uberfire.ext.editor.commons.client.BaseEditor<DecisionTableXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.