/**
#kesrequire(share/webwidgets/ui/core/Widget.js)
#kesrequire(share/webwidgets/ui/core/MChildrenHandling.js)
*/

/**
 * Shared implementation for all root widgets.
 */
qx.Class.define("nx4.webwidgets.ui.root.Abstract",
{
  type : "abstract",
  extend : nx4.webwidgets.ui.core.Widget,
  include :nx4.webwidgets.ui.core.MChildrenHandling,


  /*
  *****************************************************************************
     CONSTRUCTOR
  *****************************************************************************
  */

  construct : function()
  {
    this.base(arguments);
  },




  /*
  *****************************************************************************
     PROPERTIES
  *****************************************************************************
  */

  properties :
  {
    // overridden
    enabled :
    {
      refine : true,
      init : true
    }
  },




  /*
  *****************************************************************************
     MEMBERS
  *****************************************************************************
  */

  members :
  {
    // overridden
    isRootWidget : function() {
      return true;
    }
  },

  /*
  *****************************************************************************
     DESTRUCTOR
  *****************************************************************************
  */

  destruct : function() {
  },




  /*
  *****************************************************************************
     DEFER
  *****************************************************************************
  */

  defer : function(statics, members) {
//FIXME: aus irgend einem Grund ist members undefined
//    nx4.webwidgets.ui.core.MChildrenHandling.remap(members);
  }
});

