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