coreRuntime/src/sc/obj/CurrentScopeContext.java
public static CurrentScopeContext register(String scopeContextName, CurrentScopeContext ctx) {
      ctx.scopeContextName = scopeContextName;
      CurrentScopeContext old;
      synchronized (scopeContextNamesLock) {
         if (scopeContextNames == null)
            scopeContextNames = new HashMap<String,CurrentScopeContext>();
         old = scopeContextNames.put(scopeContextName, ctx);
         scopeContextNamesLock.notify();
      }
      return old;
   }
/**
    * Register the CurrentScopeContext - so you can target a specific ScopeContext later via remoteMethod calls (e.g. using
    * cmd.scopeContextName or to find the ScopeContext param to DynUtil.invokeRemote.   So far, this is only used in debug mode
    * to make test scripts more flexible in being able to deal with multi-browser window applications.
    */
Register the CurrentScopeContext - so you can target a specific ScopeContext later via remoteMethod calls (e.g. using
cmd.scopeContextName or to find the ScopeContext param to DynUtil.invokeRemote.   So far, this is only used in debug mode
to make test scripts more flexible in being able to deal with multi-browser window applications.
Register the CurrentScopeContext - so you can target a specific ScopeContext later via remoteMethod calls ( e . g . using cmd . scopeContextName or to find the ScopeContext param to DynUtil . invokeRemote . So far this is only used in debug mode to make test scripts more flexible in being able to deal with multi - browser window applications .
public static CurrentScopeContext register(String scopeContextName, CurrentScopeContext ctx) {
      ctx.scopeContextName = scopeContextName;
      CurrentScopeContext old;
      synchronized (scopeContextNamesLock) {
         if (scopeContextNames == null)
            scopeContextNames = new HashMap<String,CurrentScopeContext>();
         old = scopeContextNames.put(scopeContextName, ctx);
         scopeContextNamesLock.notify();
      }
      return old;
   }
public static CurrentScopeContext register ( String scopeContextName , CurrentScopeContext ctx ) { ctx . scopeContextName = scopeContextName ; CurrentScopeContext old ; synchronized ( scopeContextNamesLock ) { if ( scopeContextNames == null ) scopeContextNames = new HashMap < String , CurrentScopeContext > ( ) ; old = scopeContextNames . put ( scopeContextName , ctx ) ; scopeContextNamesLock . notify ( ) ; } return old ; }
Register the CurrentScopeContext - so you can target a specific ScopeContext later via remoteMethod calls (e.g.
Register the CurrentScopeContext - so you can target a specific ScopeContext later via remoteMethod calls ( e . g .