public class GaffeUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addStepTree(String name,
StepTree stepTree)
Add a new StepTree session based
|
static HashMap<String,Adapter> |
createComponentMap(HashMap<String,net.sourceforge.czt.z.ast.Expr> data)
Initialize the component Map which holds all the variables being displayed
|
static net.sourceforge.czt.z.ast.Expr |
decodeExpr(Object value)
Decode the String back to a Expr
|
static String |
encodeExpr(net.sourceforge.czt.z.ast.Expr expr)
Encode the expr to a String
|
static Map<String,List<Class<?>>> |
getAvailableMap()
Get the Available UI component adpaters Map for Exprs
|
static Map<String,Class<?>> |
getCustomMap()
Get the customer specified UI component Adapter for Exprs
|
static String |
getName()
Get the current session Name
|
static StepTree |
getStepTree()
Get the current session based StepTree
|
static void |
loadExprMap()
Load all adapters at the application begins.
|
static HashMap<String,net.sourceforge.czt.z.ast.Expr> |
prime(HashMap<String,net.sourceforge.czt.z.ast.Expr> target)
Add "'" after each variable in the target Map given.
|
static void |
setName(String name)
Set the current session Name
|
public static void loadExprMap()
public static String encodeExpr(net.sourceforge.czt.z.ast.Expr expr)
expr - public static net.sourceforge.czt.z.ast.Expr decodeExpr(Object value)
value - public static HashMap<String,net.sourceforge.czt.z.ast.Expr> prime(HashMap<String,net.sourceforge.czt.z.ast.Expr> target)
target - public static HashMap<String,Adapter> createComponentMap(HashMap<String,net.sourceforge.czt.z.ast.Expr> data)
origin - result - public static Map<String,Class<?>> getCustomMap()
public static Map<String,List<Class<?>>> getAvailableMap()
public static StepTree getStepTree()
name - public static void addStepTree(String name, StepTree stepTree)
name - stepTree - public static String getName()
public static void setName(String name)
name - The name to set.Copyright © 2003–2016 Community Z Tools Project. All rights reserved.