@Dependent public class PerspectiveEditorPresenter extends BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PerspectiveEditorPresenter.View |
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
baseView, changeTitleNotification, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, fileNameValidator, isReadOnly, isValidationRunning, menuBuilder, menuBuilderManagedInstance, menuItems, menus, metadataOriginalHash, notification, originalHash, place, placeManager, saveAndRenameCommandBuilder, type, versionRecordManager| Constructor and Description |
|---|
PerspectiveEditorPresenter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMenuItem(List<MenuItems> menuItems,
MenuItems item,
boolean add) |
protected void |
afterLoad() |
protected void |
afterRename() |
List<String> |
getAllTargetDivs() |
protected Supplier<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> |
getContentSupplier() |
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsCopy> |
getCopyServiceCaller() |
Validator |
getCopyValidator() |
int |
getCurrentModelHash() |
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsDelete> |
getDeleteServiceCaller() |
String |
getLayoutProperty(String key) |
Menus |
getMenus() |
Validator |
getRenameValidator() |
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>> |
getSaveAndRenameServiceCaller() |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
UberView<PerspectiveEditorPresenter> |
getWidget() |
void |
initLayoutDragComponentGroups() |
protected void |
loadContent() |
protected void |
makeMenuBar() |
void |
onClose() |
void |
onFocus() |
boolean |
onMayClose() |
protected void |
onRename() |
void |
onStartup(ObservablePath path,
PlaceRequest place) |
protected void |
save() |
void |
saveProperty(String key,
String value) |
addDownloadMenuItem, buildMenuBar, downloadMenuItem, getCurrentContentHash, getMetadataSupplier, getPathSupplier, getRenameServiceCaller, getSaveAndRename, getSaveAndRenameCommandBuilder, getSaveSuccessCallback, getValidateCommand, getVersionRecordManager, init, init, init, isDirty, isDirtySupplier, mayClose, onAfterValidate, onBeforeValidate, onRestore, onSave, onSuccess, onValidate, reload, setMetadataOriginalHash, setOriginalHash, showConcurrentUpdatePopup, showVersionspublic static final String ID
public void onStartup(ObservablePath path, PlaceRequest place)
@OnFocus public void onFocus()
public void onClose()
public void initLayoutDragComponentGroups()
protected void makeMenuBar()
makeMenuBar in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>@OnMayClose public boolean onMayClose()
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>public String getTitleText()
getTitleText in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>public Menus getMenus()
public UberView<PerspectiveEditorPresenter> getWidget()
protected void loadContent()
loadContent in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>protected Supplier<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> getContentSupplier()
getContentSupplier in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>protected void afterLoad()
protected void save()
save in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>public int getCurrentModelHash()
protected void onRename()
onRename in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>protected void afterRename()
public Validator getRenameValidator()
getRenameValidator in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>public Validator getCopyValidator()
getCopyValidator in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsDelete> getDeleteServiceCaller()
getDeleteServiceCaller in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>> getSaveAndRenameServiceCaller()
getSaveAndRenameServiceCaller in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsCopy> getCopyServiceCaller()
getCopyServiceCaller in class BaseEditor<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate,org.uberfire.ext.editor.commons.file.DefaultMetadata>Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.