@Dependent public class ExperimentalAssetEditor extends BaseEditor<String,DefaultMetadata>
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 |
|---|
ExperimentalAssetEditor(ClientExperimentalFeaturesRegistryService registryService,
ExperimentalAssetResourceType resourceType,
AssetEditor editor,
org.jboss.errai.common.client.api.Caller<ExperimentalEditorService> service) |
| Modifier and Type | Method and Description |
|---|---|
protected Supplier<String> |
getContentSupplier() |
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.IsWidget |
getView() |
protected void |
loadContent() |
protected elemental2.promise.Promise<Void> |
makeMenuBar() |
void |
onDelete(ExperimentalAssetRemoved event) |
void |
onStartup(ObservablePath path,
PlaceRequest place) |
protected void |
save() |
addDownloadMenuItem, buildMenuBar, disableMenuItem, downloadMenuItem, enableMenuItem, getBeforeSaveAndRenameCommand, getCopyServiceCaller, getCopyValidator, getCurrentContentHash, getMetadataSupplier, getPathSupplier, getRenameServiceCaller, getRenameValidator, getSaveAndRename, getSaveAndRenameCommandBuilder, getSaveAndRenameServiceCaller, getSaveSuccessCallback, getSaveValidator, getValidateCommand, getVersionRecordManager, init, init, init, isDirty, isDirtySupplier, mayClose, onAfterValidate, onBeforeValidate, onRename, onRestore, onSave, onSuccess, onValidate, reload, setMetadataOriginalHash, setOriginalHash, showConcurrentUpdatePopup, showVersions@Inject public ExperimentalAssetEditor(ClientExperimentalFeaturesRegistryService registryService, ExperimentalAssetResourceType resourceType, AssetEditor editor, org.jboss.errai.common.client.api.Caller<ExperimentalEditorService> service)
protected void loadContent()
loadContent in class BaseEditor<String,DefaultMetadata>public void onStartup(ObservablePath path, PlaceRequest place)
protected Supplier<String> getContentSupplier()
getContentSupplier in class BaseEditor<String,DefaultMetadata>protected org.jboss.errai.common.client.api.Caller<? extends SupportsDelete> getDeleteServiceCaller()
getDeleteServiceCaller in class BaseEditor<String,DefaultMetadata>protected void save()
save in class BaseEditor<String,DefaultMetadata>protected elemental2.promise.Promise<Void> makeMenuBar()
makeMenuBar in class BaseEditor<String,DefaultMetadata>public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle in class BaseEditor<String,DefaultMetadata>public String getTitleText()
getTitleText in class BaseEditor<String,DefaultMetadata>public void getMenus(Consumer<Menus> menusConsumer)
getMenus in class BaseEditor<String,DefaultMetadata>public com.google.gwt.user.client.ui.IsWidget getView()
public void onDelete(@Observes
ExperimentalAssetRemoved event)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.