net.sf.doolin.gui.action
Class PromptGUIAction
java.lang.Object
net.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractSimpleGUIAction
net.sf.doolin.gui.action.PromptGUIAction
- All Implemented Interfaces:
- GUIAction, org.springframework.beans.factory.BeanNameAware
public class PromptGUIAction
- extends AbstractSimpleGUIAction
This action prompts the user for a confirmation and delegates the call to
another action. The prompt expression uses the context data for its
resolution.
- Author:
- Damien Coraboeuf
| Methods inherited from class net.sf.doolin.gui.action.AbstractSimpleGUIAction |
getIconId, getIconIDExpression, getId, getShortcut, getShortcutExpression, getTextExpression, getTip, getTipExpression, getTitle, init, setBeanName, setIconId, setShortcut, setTip, setTitle, toString |
PromptGUIAction
public PromptGUIAction()
doExecute
protected void doExecute(ActionContext context)
throws Exception
- Description copied from class:
AbstractGUIAction
- Executes the action and throws any kind of error.
- Specified by:
doExecute in class AbstractGUIAction
- Parameters:
context - the context
- Throws:
Exception - the exception
getAction
public GUIAction getAction()
getPromptExpression
public String getPromptExpression()
setAction
public void setAction(GUIAction action)
setPromptExpression
public void setPromptExpression(String promptExpression)
setUseContextData
@Deprecated
public void setUseContextData(boolean useContextData)
- Deprecated. Use
AbstractGUIAction.setActionContextDataExtractor(net.sf.doolin.gui.action.support.ActionContextDataExtractor)
Copyright © 2011. All Rights Reserved.