Changes between Initial Version and Version 1 of Ticket #13887


Ignore:
Timestamp:
Sep 11, 2011, 4:57:46 PM (11 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13887

    • Property Summary changed from simply startup() code to simplify startup() code
  • Ticket #13887 – Description

    initial v1  
    1 Simplify of startup() code:
     1Simplify startup() code:
     2
    23   1. Remove isContainer: flag and instead make all widgets obey the isContainer:true contract of starting their children.
    34   2. Move _Container.startup() to _WidgetBase
    4    3. Remove _Container.destroyDescendants() since it's redundant with _WidgetBase.destroyDescendants()
     5   3. In parser, when deciding which widgets to startup, just check widget._started flag.   No need to call getParent(), because if the widget did have a parent, the parent would have called startup() and _started would already be set.
     6
     7Also, remove _Container.destroyDescendants() since it's redundant with _WidgetBase.destroyDescendants().
     8