public class CropImageAction extends MediaEditorUIAction
view
dataSource, DEFAULT_FORMAT, eventBus
Constructor and Description |
---|
CropImageAction(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 CropImageAction(MediaEditorActionDefinition definition, MediaEditorView view, info.magnolia.event.EventBus eventBus, EditHistoryTrackingProperty dataSource, info.magnolia.i18nsystem.SimpleTranslator i18n)
public void execute() throws ActionExecutionException
Action
execute
in interface Action
execute
in class MediaEditorUIAction
ActionExecutionException
- if an error occurs performing the actionprotected List<ActionContext> getActionContextList()
getActionContextList
in class MediaEditorUIAction
protected com.vaadin.ui.Component getStatusControls()
getStatusControls
in class MediaEditorUIAction
protected MediaField createMediaField()
createMediaField
in class MediaEditorUIAction
Copyright © 2017 Magnolia International Ltd.. All rights reserved.