return WGAGlobal.getLookupKeys(cx, thisObj, args, funObj);
}
public static WGDatabase localDB(Context cx, Scriptable thisObj, java.lang.Object[] args, Function funObj) throws JavaScriptException, WGException {
Design design;
if (args.length == 0) {
design = Design.getCurrent();
}
else if (args[0] instanceof NativeObject) {
design = new Design((NativeObject) args[0]);
}
else {
throw new EvaluatorException("Global function localDB() needs either no or a custom TMLScript object as parameter");
}