net.sf.doolin.gui.action
Class AbstractTypedGUIAction<T>

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.action.AbstractTypedGUIAction<T>
Type Parameters:
T - Type of the context data
All Implemented Interfaces:
GUIAction, org.springframework.beans.factory.BeanNameAware

Deprecated. Use AbstractGUIAction.setActionContextDataExtractor(net.sf.doolin.gui.action.support.ActionContextDataExtractor)

@Deprecated
public abstract class AbstractTypedGUIAction<T>
extends AbstractSimpleGUIAction

Basic implementation for action classes that need a safe-typed access to the context data.

Author:
Damien Coraboeuf
See Also:
ActionContext.getData()

Constructor Summary
AbstractTypedGUIAction()
          Deprecated.  
 
Method Summary
protected  void doExecute(ActionContext context)
          Deprecated. Executes the action and throws any kind of error.
protected abstract  void doExecute(ActionContext context, T bean)
          Deprecated. Executes the action with a typed action context data
 
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

AbstractTypedGUIAction

public AbstractTypedGUIAction()
Deprecated. 
Method Detail

doExecute

protected void doExecute(ActionContext context)
                  throws Exception
Deprecated. 
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

doExecute

protected abstract void doExecute(ActionContext context,
                                  T bean)
Deprecated. 
Executes the action with a typed action context data

Parameters:
context - Action context
bean - Typed action context data


Copyright © 2011. All Rights Reserved.