@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, workbenchContextbaseView, changeTitleNotification, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, deletePopUpPresenter, fileNameValidator, isReadOnly, isValidationRunning, makeMenuBarPromise, menuBuilder, menuBuilderManagedInstance, menuItems, menus, metadataOriginalHash, notification, originalHash, place, placeManager, promises, saveAndRenameCommandBuilder, 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) |
| 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) |
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, save, save, saveAction, selectEditorTab, selectOverviewTab, setOriginalHash, setSelectedTab, showDocks, showVersions, updateSource, verifyEventIdentifieraddDownloadMenuItem, disableMenuItem, downloadMenuItem, enableMenuItem, getContentSupplier, getCopyServiceCaller, getCopyValidator, getCurrentContentHash, getDeleteServiceCaller, getPathSupplier, getRenameServiceCaller, getSaveAndRename, getSaveAndRenameCommandBuilder, getSaveAndRenameServiceCaller, getSaveSuccessCallback, getValidateCommand, getVersionRecordManager, init, isDirty, isDirtySupplier, onAfterValidate, onBeforeValidate, onRename, onRestore, onSuccess, reload, setMetadataOriginalHash, showConcurrentUpdatePopuppublic 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)
public void onStartup(org.uberfire.backend.vfs.ObservablePath path,
org.uberfire.mvp.PlaceRequest place)
public void onUpload()
onUpload in interface DecisionTableXLSEditorView.Presenterpublic void onUploadSuccess()
onUploadSuccess in interface DecisionTableXLSEditorView.Presenterprotected 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.KieEditorWrapperPresenteronSourceTabSelected 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 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–2019 JBoss by Red Hat. All rights reserved.