info.magnolia.pages.app.action
Class DeleteComponentAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<D>
info.magnolia.ui.framework.action.AbstractMultiItemAction<info.magnolia.ui.framework.action.DeleteItemActionDefinition>
info.magnolia.ui.framework.action.DeleteItemAction
info.magnolia.pages.app.action.DeleteComponentAction
- All Implemented Interfaces:
- info.magnolia.ui.api.action.Action
public class DeleteComponentAction
- extends info.magnolia.ui.framework.action.DeleteItemAction
Action for deleting components. Overrides the default behaviour by sending the ContentChangedEvent
on the SubAppEventBus
.
Constructor Summary |
DeleteComponentAction(info.magnolia.ui.framework.action.DeleteItemActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item,
info.magnolia.event.EventBus eventBus,
info.magnolia.ui.api.app.SubAppContext subAppContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
|
Methods inherited from class info.magnolia.ui.framework.action.DeleteItemAction |
execute, executeAfterConfirmation, executeOnItem, getFailureMessage, getSuccessMessage |
Methods inherited from class info.magnolia.ui.framework.action.AbstractMultiItemAction |
getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem |
Methods inherited from class info.magnolia.ui.api.action.AbstractAction |
getDefinition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteComponentAction
@Inject
public DeleteComponentAction(info.magnolia.ui.framework.action.DeleteItemActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item,
@Named(value="subapp")
info.magnolia.event.EventBus eventBus,
info.magnolia.ui.api.app.SubAppContext subAppContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.