info.magnolia.ui.dialog.actionarea
Class DialogActionExecutor

java.lang.Object
  extended by info.magnolia.ui.api.action.AbstractActionExecutor
      extended by info.magnolia.ui.dialog.actionarea.DialogActionExecutor
All Implemented Interfaces:
ActionExecutor

public class DialogActionExecutor
extends AbstractActionExecutor

A common action executor that can be used by both dialogs and detail sub-apps. Simply takes a list of action definitions that it can execute.


Constructor Summary
DialogActionExecutor(info.magnolia.objectfactory.ComponentProvider componentProvider)
           
 
Method Summary
 ActionDefinition getActionDefinition(String actionName)
          Performs a lookup for an action definition by name.
 void setDialogDefinition(DialogDefinition definition)
           
 
Methods inherited from class info.magnolia.ui.api.action.AbstractActionExecutor
createAction, execute, isAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogActionExecutor

@Inject
public DialogActionExecutor(info.magnolia.objectfactory.ComponentProvider componentProvider)
Method Detail

setDialogDefinition

public void setDialogDefinition(DialogDefinition definition)

getActionDefinition

public ActionDefinition getActionDefinition(String actionName)
Description copied from interface: ActionExecutor
Performs a lookup for an action definition by name.

Returns:
the action definition for the supplied action name or null if not found


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.