public class ViewImageAction extends MediaEditorUIAction
Modifier and Type | Class and Description |
---|---|
static class |
ViewImageAction.ImageSizeLabel
ImageSizeLabel.
|
view
dataSource, DEFAULT_FORMAT, eventBus
Constructor and Description |
---|
ViewImageAction(MediaEditorActionDefinition definition,
MediaEditorView view,
info.magnolia.event.EventBus eventBus,
EditHistoryTrackingProperty dataSource,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
protected MediaField |
createMediaField() |
void |
execute()
Executes the action.
|
protected List<ActionContext> |
getActionContextList() |
protected com.vaadin.ui.Component |
getStatusControls() |
createStreamSource
getDefinition
public ViewImageAction(MediaEditorActionDefinition definition, MediaEditorView view, @Named(value="mediaeditor") info.magnolia.event.EventBus eventBus, EditHistoryTrackingProperty dataSource, info.magnolia.i18nsystem.SimpleTranslator i18n)
protected List<ActionContext> getActionContextList()
getActionContextList
in class MediaEditorUIAction
public void execute() throws ActionExecutionException
Action
execute
in interface Action
execute
in class MediaEditorUIAction
ActionExecutionException
- if an error occurs performing the actionprotected com.vaadin.ui.Component getStatusControls()
getStatusControls
in class MediaEditorUIAction
protected MediaField createMediaField()
createMediaField
in class MediaEditorUIAction
Copyright © 2018 Magnolia International Ltd.. All rights reserved.