net.sf.doolin.gui.action
Class DelegateDialogAction<T>
java.lang.Object
net.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractSimpleGUIAction
net.sf.doolin.gui.action.DialogAction<T>
net.sf.doolin.gui.action.DelegateDialogAction<T>
- Type Parameters:
T - Type of data
- All Implemented Interfaces:
- GUIAction, org.springframework.beans.factory.BeanNameAware
public class DelegateDialogAction<T>
- extends DialogAction<T>
Dialog action that delegates to another object after the dialog has been
validated.
- Author:
- Damien Coraboeuf (x74639)
| 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 |
DelegateDialogAction
public DelegateDialogAction()
onOK
protected void onOK(ActionContext actionContext,
T bean)
- Description copied from class:
DialogAction
- This method is called when the dialog has been validated.
- Specified by:
onOK in class DialogAction<T>
- Parameters:
actionContext - Action contextbean - Edited bean
getDelegate
public ActionDelegate<T> getDelegate()
- Gets the delegate.
- Returns:
- the delegate
setDelegate
public void setDelegate(ActionDelegate<T> delegate)
- Sets the delegate.
- Parameters:
delegate - the new delegate
Copyright © 2011. All Rights Reserved.