info.magnolia.ui.admincentral.dialog.action
Class SaveConfigDialogAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<SaveConfigDialogActionDefinition>
info.magnolia.ui.admincentral.dialog.action.SaveConfigDialogAction
- All Implemented Interfaces:
- Action
public class SaveConfigDialogAction
- extends AbstractAction<SaveConfigDialogActionDefinition>
Responsible for triggering (by sending an Event) the saving of the changes made to node properties in the Configuration app.
Sends an ItemEditedEvent so that the BrowserPresenter will handle updating the item in the same manner as if it had
been changed via inplace editing.
- See Also:
SaveConfigDialogActionDefinition
Method Summary |
void |
execute()
Executes the action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
item
protected final com.vaadin.data.Item item
validator
protected final EditorValidator validator
callback
protected final EditorCallback callback
SaveConfigDialogAction
@Inject
public SaveConfigDialogAction(SaveConfigDialogActionDefinition definition,
com.vaadin.data.Item item,
EditorValidator validator,
EditorCallback callback,
@Named(value="subapp")
info.magnolia.event.EventBus subAppEventBus)
execute
public void execute()
throws ActionExecutionException
- Description copied from interface:
Action
- Executes the action.
- Throws:
ActionExecutionException
- if an error occurs performing the action
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.