@Dependent public class ScoreCardXLSEditorPresenter extends org.kie.workbench.common.widgets.metadata.client.KieEditor<ScoreCardXLSContent> implements ScoreCardXLSEditorView.Presenter
Modifier and Type | Field and Description |
---|---|
static String |
EDITOR_ID |
protected org.jboss.errai.common.client.api.Caller<org.guvnor.common.services.shared.metadata.MetadataService> |
metadataService |
protected org.jboss.errai.common.client.api.Caller<ScoreCardXLSService> |
scoreCardXLSService |
protected org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup |
validationPopup |
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, versionRecordManager
Constructor and Description |
---|
ScoreCardXLSEditorPresenter(ScoreCardXLSEditorView baseView) |
Modifier and Type | Method and Description |
---|---|
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() |
void |
onClose() |
void |
onStartup(org.uberfire.backend.vfs.ObservablePath path,
org.uberfire.mvp.PlaceRequest place) |
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, makeMenuBar, mayClose, mayClose, onEditTabSelected, onEditTabUnselected, onHideDocks, onOverviewSelected, onRepositoryRemoved, onSave, onShowDiagramEditorDocks, onSourceTabSelected, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reload
public static final String EDITOR_ID
@Inject protected org.jboss.errai.common.client.api.Caller<ScoreCardXLSService> scoreCardXLSService
@Inject protected org.jboss.errai.common.client.api.Caller<org.guvnor.common.services.shared.metadata.MetadataService> metadataService
@Inject protected org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup validationPopup
@Inject public ScoreCardXLSEditorPresenter(ScoreCardXLSEditorView baseView)
public void onStartup(org.uberfire.backend.vfs.ObservablePath path, org.uberfire.mvp.PlaceRequest place)
protected void loadContent()
loadContent
in class org.uberfire.ext.editor.commons.client.BaseEditor<ScoreCardXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
protected void onValidate(org.uberfire.mvp.Command finished)
onValidate
in class org.uberfire.ext.editor.commons.client.BaseEditor<ScoreCardXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
protected void save(String commitMessage)
save
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<ScoreCardXLSContent>
protected String getEditorIdentifier()
getEditorIdentifier
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<ScoreCardXLSContent>
public void onClose()
onClose
in class org.kie.workbench.common.widgets.metadata.client.KieEditor<ScoreCardXLSContent>
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle
in class org.uberfire.ext.editor.commons.client.BaseEditor<ScoreCardXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
public String getTitleText()
getTitleText
in class org.uberfire.ext.editor.commons.client.BaseEditor<ScoreCardXLSContent,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<ScoreCardXLSContent>
public void getMenus(Consumer<org.uberfire.workbench.model.menu.Menus> menusConsumer)
getMenus
in class org.uberfire.ext.editor.commons.client.BaseEditor<ScoreCardXLSContent,org.guvnor.common.services.shared.metadata.model.Metadata>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.