net.sf.doolin.gui.action.support
Class DataActionContextConverter
java.lang.Object
net.sf.doolin.gui.action.support.DataActionContextConverter
- All Implemented Interfaces:
- com.google.common.base.Function<ActionContext,ActionContext>
public class DataActionContextConverter
- extends Object
- implements com.google.common.base.Function<ActionContext,ActionContext>
Converts an action context to another by getting a property of the original
action context data.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
DataActionContextConverter
public DataActionContextConverter()
apply
public ActionContext apply(ActionContext source)
- Specified by:
apply in interface com.google.common.base.Function<ActionContext,ActionContext>
getDataFactory
public DataFactory<?> getDataFactory()
- Gets the factory for the action context data
- Returns:
- Factory
setDataFactory
public void setDataFactory(DataFactory<?> dataFactory)
- Sets the factory for the action context data
- Parameters:
dataFactory - Factory
Copyright © 2011. All Rights Reserved.