@Dependent public class DynamicMenuEditorPresenter extends BaseEditor
| Modifier and Type | Class and Description |
|---|---|
static interface |
DynamicMenuEditorPresenter.View |
baseView, changeTitleNotification, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, fileNameValidator, isReadOnly, menuBuilder, menuItems, menus, originalHash, place, placeManager, type, versionRecordManager| Constructor and Description |
|---|
DynamicMenuEditorPresenter(DynamicMenuEditorPresenter.View baseView) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMenuItem(DynamicMenuItem menuItem) |
DynamicMenu |
getContent() |
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsCopy> |
getCopyServiceCaller() |
Validator |
getCopyValidator() |
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsDelete> |
getDeleteServiceCaller() |
protected List<DynamicMenuItem> |
getDynamicMenuItems() |
DynamicMenuItem |
getExistingMenuItem(DynamicMenuItem currentMenuItem,
DynamicMenuItem editedMenuItem) |
RuleValidator |
getMenuItemActivityIdValidator() |
RuleValidator |
getMenuItemLabelValidator(DynamicMenuItem menuItem,
DynamicMenuItem editedMenuItem) |
Menus |
getMenus() |
protected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsRename> |
getRenameServiceCaller() |
Validator |
getRenameValidator() |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
DynamicMenuEditorPresenter.View |
getView() |
UberView<DynamicMenuEditorPresenter> |
getWidget() |
protected void |
loadContent() |
boolean |
onMayClose() |
protected void |
onPlugInRenamed(PluginRenamed pluginRenamed) |
void |
onStartup(ObservablePath path,
PlaceRequest place) |
protected Command |
onValidate() |
void |
removeObject(DynamicMenuItem object) |
protected void |
save() |
void |
setDataDisplay(com.google.gwt.view.client.HasData<DynamicMenuItem> display) |
void |
updateIndex(DynamicMenuItem object,
int index,
org.uberfire.ext.plugin.client.editor.DynamicMenuEditorPresenter.UpdateIndexOperation operation) |
buildMenuBar, getSaveSuccessCallback, getVersionRecordManager, init, init, init, isDirty, makeMenuBar, mayClose, onRename, onRestore, onSave, reload, setOriginalHash, showConcurrentUpdatePopup, showVersions@Inject public DynamicMenuEditorPresenter(DynamicMenuEditorPresenter.View baseView)
public void onStartup(ObservablePath path, PlaceRequest place)
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle in class BaseEditorpublic String getTitleText()
getTitleText in class BaseEditorpublic Menus getMenus()
protected void onPlugInRenamed(@Observes
PluginRenamed pluginRenamed)
public RuleValidator getMenuItemActivityIdValidator()
public RuleValidator getMenuItemLabelValidator(DynamicMenuItem menuItem, DynamicMenuItem editedMenuItem)
public void addMenuItem(DynamicMenuItem menuItem)
public DynamicMenuItem getExistingMenuItem(DynamicMenuItem currentMenuItem, DynamicMenuItem editedMenuItem)
public void removeObject(DynamicMenuItem object)
public void updateIndex(DynamicMenuItem object, int index, org.uberfire.ext.plugin.client.editor.DynamicMenuEditorPresenter.UpdateIndexOperation operation)
public void setDataDisplay(com.google.gwt.view.client.HasData<DynamicMenuItem> display)
protected void loadContent()
loadContent in class BaseEditorprotected Command onValidate()
onValidate in class BaseEditorprotected void save()
save in class BaseEditorpublic UberView<DynamicMenuEditorPresenter> getWidget()
@OnMayClose public boolean onMayClose()
public DynamicMenu getContent()
public Validator getRenameValidator()
getRenameValidator in class BaseEditorpublic Validator getCopyValidator()
getCopyValidator in class BaseEditorprotected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsDelete> getDeleteServiceCaller()
getDeleteServiceCaller in class BaseEditorprotected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsRename> getRenameServiceCaller()
getRenameServiceCaller in class BaseEditorprotected org.jboss.errai.common.client.api.Caller<? extends org.uberfire.ext.editor.commons.service.support.SupportsCopy> getCopyServiceCaller()
getCopyServiceCaller in class BaseEditorpublic DynamicMenuEditorPresenter.View getView()
protected List<DynamicMenuItem> getDynamicMenuItems()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.