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