public void setWindow(AWindow window) { m_window = window; setUpScriptEngineCtx(); }
/** 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); }