info.magnolia.pages.app.action
Class PreviewPageAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<PreviewPageActionDefinition>
info.magnolia.pages.app.action.PreviewPageAction
- All Implemented Interfaces:
- info.magnolia.ui.api.action.Action
public class PreviewPageAction
- extends info.magnolia.ui.api.action.AbstractAction<PreviewPageActionDefinition>
Opens a preview of the selected page.
Constructor Summary |
PreviewPageAction(PreviewPageActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter nodeItemToPreview,
info.magnolia.ui.api.location.LocationController locationController)
Instantiates a new preview page action. |
Methods inherited from class info.magnolia.ui.api.action.AbstractAction |
getDefinition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreviewPageAction
@Inject
public PreviewPageAction(PreviewPageActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter nodeItemToPreview,
info.magnolia.ui.api.location.LocationController locationController)
- Instantiates a new preview page action.
- Parameters:
definition
- the definitionnodeItemToPreview
- the node to preview
execute
public void execute()
throws info.magnolia.ui.api.action.ActionExecutionException
- Throws:
info.magnolia.ui.api.action.ActionExecutionException
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.