public abstract class InstantMediaEditorAction extends MediaEditorAction
dataSource, DEFAULT_FORMAT, eventBus
Constructor and Description |
---|
InstantMediaEditorAction(MediaEditorActionDefinition definition,
EditHistoryTrackingProperty dataSource,
info.magnolia.event.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected abstract InputStream |
performModification(InputStream stream) |
createStreamSource
getDefinition
public InstantMediaEditorAction(MediaEditorActionDefinition definition, EditHistoryTrackingProperty dataSource, info.magnolia.event.EventBus eventBus)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionprotected abstract InputStream performModification(InputStream stream) throws IOException
IOException
Copyright © 2015 Magnolia International Ltd.. All rights reserved.