protected static void setWindow(AWindow win) { DapCtx.ctx().setWindow(win); }
/** Sets the context to be associated with this thread. The context can be null. */ public static void setCtx(final DapCtx context) { if (context != null) { context.setUpScriptEngineCtx(); } CtxAssociator.setCtx(context); }
/** set DapCtx for current thread. */ public void setSameCxtForCurrentThread() { DapCtx.setCtx(this); }
public static AWindow window() { return DapCtx.ctx().getWindow(); }