info.magnolia.ui.mediaeditor.action
Class ViewImageAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<MediaEditorActionDefinition>
info.magnolia.ui.mediaeditor.action.MediaEditorAction
info.magnolia.ui.mediaeditor.action.MediaEditorUIAction
info.magnolia.ui.mediaeditor.action.ViewImageAction
- All Implemented Interfaces:
- Action
public class ViewImageAction
- extends MediaEditorUIAction
Simply displays an image with dialog actions to
submit or revert previous modifications. Also updates the undo/redo actions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewImageAction
public ViewImageAction(MediaEditorActionDefinition definition,
MediaEditorView view,
info.magnolia.event.EventBus eventBus,
EditHistoryTrackingProperty dataSource,
info.magnolia.i18nsystem.SimpleTranslator i18n)
getActionContextList
protected List<ActionContext> getActionContextList()
- Specified by:
getActionContextList
in class MediaEditorUIAction
execute
public void execute()
throws ActionExecutionException
- Description copied from interface:
Action
- Executes the action.
- Specified by:
execute
in interface Action
- Overrides:
execute
in class MediaEditorUIAction
- Throws:
ActionExecutionException
- if an error occurs performing the action
getStatusControls
protected com.vaadin.ui.Component getStatusControls()
- Specified by:
getStatusControls
in class MediaEditorUIAction
createMediaField
protected MediaField createMediaField()
- Specified by:
createMediaField
in class MediaEditorUIAction
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.