0 Replies Latest reply on Sep 2, 2008 3:52 PM by Glenn Ruehle

    [svn] 3065: Initial checkin of the deferred instantiation feature for Gumbo .

    Glenn Ruehle Adobe Employee
      Revision: 3065
      Author: gruehle@adobe.com
      Date: 2008-09-02 16:52:05 -0700 (Tue, 02 Sep 2008)

      Log Message:
      -----------
      Initial checkin of the deferred instantiation feature for Gumbo.

      ItemsComponent has a "creationPolicy" property that controls when the content items are created. Possible values are:
      * "all" - content is created as soon as the ItemsComponent is created
      * "auto" - content is created as soon as it is needed
      * "none" - content is not automatically created. When this creationPolicy is set, you must call createDeferredContent().

      The "contentCreationComplete" event is sent when the content has been created.

      Added IDeferredContentOwner interface. ItemsComponent is the only Gumbo component that implements this interface.

      Reviewers: Corey, Ryan, Chet

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/FlexEvent.as
      flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml
      flex/sdk/trunk/frameworks/tests/flex4/flex4test_testScript.mxml
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java

      Added Paths:
      -----------
      flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/IDeferredContentOwner.as