Example #1
0
 protected static void setWindow(AWindow win) {
   DapCtx.ctx().setWindow(win);
 }
Example #2
0
 /** 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);
 }
Example #3
0
 /** set DapCtx for current thread. */
 public void setSameCxtForCurrentThread() {
   DapCtx.setCtx(this);
 }
Example #4
0
 public static AWindow window() {
   return DapCtx.ctx().getWindow();
 }