net.sf.doolin.gui.field.table.action
Class OpenItemAction<C>
java.lang.Object
net.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractSimpleGUIAction
net.sf.doolin.gui.field.table.action.OpenItemAction<C>
- Type Parameters:
C - Type of the object stored in the ActionContext
- All Implemented Interfaces:
- GUIAction, org.springframework.beans.factory.BeanNameAware
public class OpenItemAction<C>
- extends AbstractSimpleGUIAction
Opens an action for an item in a table.
- 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 |
OpenItemAction
public OpenItemAction()
doExecute
protected void doExecute(ActionContext actionContext)
throws Exception
- Description copied from class:
AbstractGUIAction
- Executes the action and throws any kind of error.
- Specified by:
doExecute in class AbstractGUIAction
- Parameters:
actionContext - the context
- Throws:
Exception - the exception- See Also:
ViewOpener.openView(ActionContext, Object)
getViewOpener
public ViewOpener<C> getViewOpener()
- Gets the view opener.
- Returns:
- the view opener
setViewOpener
public void setViewOpener(ViewOpener<C> viewOpener)
- Sets the view opener.
- Parameters:
viewOpener - the new view opener
Copyright © 2011. All Rights Reserved.