@Dependent public class DataSetDefEditorPresenter extends BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
Modifier and Type | Field and Description |
---|---|
DataSetDefScreenView |
view |
baseView, changeTitleNotification, concurrentChangePopup, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, deletePopUpPresenter, fileNameValidator, isReadOnly, isValidationRunning, makeMenuBarPromise, menuBuilder, menuBuilderManagedInstance, menuItems, menus, metadataOriginalHash, notification, originalHash, place, promises, saveAndRenameCommandBuilder, saveWithComments, type, versionRecordManager
Constructor and Description |
---|
DataSetDefEditorPresenter() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildTitle() |
void |
disposeWorkflow() |
protected org.jboss.errai.common.client.api.Caller<? extends SupportsCopy> |
getCopyServiceCaller() |
int |
getCurrentModelHash() |
org.dashbuilder.dataset.def.DataSetDef |
getDataSetDef() |
protected org.jboss.errai.common.client.api.Caller<? extends SupportsDelete> |
getDeleteServiceCaller() |
void |
getMenus(Consumer<Menus> menusConsumer) |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
com.google.gwt.user.client.ui.Widget |
getWidget() |
protected void |
load(org.dashbuilder.dataset.def.DataSetDef dataSetDef,
List<org.dashbuilder.dataset.def.DataColumnDef> columns) |
protected void |
loadContent() |
void |
onClose() |
boolean |
onMayClose() |
void |
onStartup(ObservablePath path,
PlaceRequest place) |
protected void |
onValidate(Command callFinished) |
protected void |
save() |
addDownloadMenuItem, buildMenuBar, disableMenuItem, downloadMenuItem, enableMenuItem, getBeforeSaveAndRenameCommand, getContentSupplier, getCopyValidator, getCurrentContentHash, getMetadataSupplier, getPathSupplier, getRenameServiceCaller, getRenameValidator, getSaveAndRename, getSaveAndRenameCommandBuilder, getSaveAndRenameServiceCaller, getSaveSuccessCallback, getSaveValidator, getValidateCommand, getVersionRecordManager, init, init, init, isDirty, isDirtySupplier, makeMenuBar, mayClose, onAfterValidate, onBeforeValidate, onRename, onRestore, onSave, onSuccess, reload, setMetadataOriginalHash, setOriginalHash, showConcurrentUpdatePopup, showVersions
@Inject public DataSetDefScreenView view
public void onStartup(ObservablePath path, PlaceRequest place)
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
public String getTitleText()
getTitleText
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
protected String buildTitle()
public void getMenus(Consumer<Menus> menusConsumer)
getMenus
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
public com.google.gwt.user.client.ui.Widget getWidget()
@OnMayClose public boolean onMayClose()
public void onClose()
protected void loadContent()
loadContent
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
public org.dashbuilder.dataset.def.DataSetDef getDataSetDef()
protected void onValidate(Command callFinished)
onValidate
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
protected void save()
save
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
public int getCurrentModelHash()
public void disposeWorkflow()
protected void load(org.dashbuilder.dataset.def.DataSetDef dataSetDef, List<org.dashbuilder.dataset.def.DataColumnDef> columns)
protected org.jboss.errai.common.client.api.Caller<? extends SupportsDelete> getDeleteServiceCaller()
getDeleteServiceCaller
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
protected org.jboss.errai.common.client.api.Caller<? extends SupportsCopy> getCopyServiceCaller()
getCopyServiceCaller
in class BaseEditor<org.dashbuilder.dataset.def.DataSetDef,DefaultMetadata>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.