rem: { 
add: { 
context: qx.Interface.define = function(vInterfaceName, vDefinition){  /*  ---------------------------------------------------------------------------    Setting up namespace  ---------------------------------------------------------------------------  */  var vSplitName = vInterfaceName.split(".");  var vNameLength = vSplitName.length;  var vTempObject = window;  // Setting up namespace  for (var i = 0; i<vNameLength; i++)  {    if (typeof vTempObject[vSplitName[i]] === "undefined") {      vTempObject[vSplitName[i]] = {};    }    vTempObject = vTempObject[vSplitName[i]];  }  /*  ---------------------------------------------------------------------------    Basic data structure  ---------------------------------------------------------------------------  */  qx._Interface = vTempObject;  qx._Interface._members = {};  var vProp;    if (typeof vDefinition !== "undefined") {    /*     * non-trivial interface definition     */        /*    ---------------------------------------------------------------------------      Interfaces to extend from    ---------------------------------------------------------------------------    */          var vSuper = vDefinition["extends"];    if (typeof vSuper !== "undefined")    {       if (vSuper instanceof Array)      {        var vTotal = vSuper.length;                for (i=0; i<vTotal; i++)        {          if (typeof vSuper[i] === "undefined" || !vSuper[i].isInterface) {            throw new Error("Could not extend interface " + vInterfaceName               + " due to invalid interface no. " + (i+1));          }                    for (vProp in vSuper[i]._members) {            qx._Interface._members[vProp] = vSuper[i]._members[vProp];          }        }      }      else       {        throw new Error("Could not extend interface " + vInterfaceName             + "due to invalid interface assignment.");      }    }      /*    ---------------------------------------------------------------------------      Interface members    ---------------------------------------------------------------------------    */      var vMembers = vDefinition["members"];        if (typeof vMembers !== "undefined")    {      for( vProp in vMembers)      {        qx._Interface._members[vProp] = vMembers[vProp];      }    }   }    /*  ---------------------------------------------------------------------------    Interface registration  ---------------------------------------------------------------------------  */  qx.Interface._registry[vInterfaceName] = qx._Interface;  qx._Interface.name = vInterfaceName;  qx._Interface.isInterface = true;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/8850d4eed338d093a8fc0f1240f750a97b53896b/Interface.js/buggy/qooxdoo/frontend/framework/source/class/qx/Interface.js