net.sf.doolin.gui.field.table.action
Class OpenItemAction<C>

java.lang.Object
  extended by net.sf.doolin.gui.action.AbstractGUIAction
      extended by net.sf.doolin.gui.action.AbstractSimpleGUIAction
          extended by 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

Constructor Summary
OpenItemAction()
           
 
Method Summary
protected  void doExecute(ActionContext actionContext)
          Executes the action and throws any kind of error.
 ViewOpener<C> getViewOpener()
          Gets the view opener.
 void setViewOpener(ViewOpener<C> viewOpener)
          Sets the view opener.
 
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
 
Methods inherited from class net.sf.doolin.gui.action.AbstractGUIAction
execute, getActionContextData, getActionContextDataExtractor, getDisplayStateHandler, getIcon, getIconService, setActionContextDataExtractor, setDisplayStateHandler, setIconService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenItemAction

public OpenItemAction()
Method Detail

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.