0 Replies Latest reply on Mar 23, 2010 12:02 PM by Jason Szeto

    [svn:fx-4.x] 14947: Mirroring code hinting fixes

    Jason Szeto Level 3

      Revision: 14947

      Revision: 14947

      Author:   jszeto@adobe.com

      Date:     2010-03-23 12:02:19 -0700 (Tue, 23 Mar 2010)

      Log Message:


      Mirroring code hinting fixes


      http://bugs.adobe.com/jira/browse/SDK-25565 - Components should define metadata for  layoutDirection and direction styles


      There is both a style and property called layoutDirection in UIComponent. For UIComponent, both Hans and I agree that we should promote the use of the style. I added an exclude for the layoutDirection property in UIComponent. This allows code hinting for the layoutDirection style in the CSS style declaration. It also removes the layoutDirection property from the ASDoc. Code hinting still works for the layoutDirection attribute on a UIComponent subclass MXML tag. This attribute gets set to the property, not the style.


      ProgressBar has both a direction property and style. However, in this situation, they control different behaviors. It is not possible to code hint for the direction style in the CSS style declaration without removing the direction property from ASDoc. We are just going to have to live with this limitation.


      http://bugs.adobe.com/jira/browse/SDK-25823 - The layoutDirection style/property doesnt code hint static enums


      Added Inspectable metadata to BitmapAsset, SpriteAsset, SpriteVisualElement and GraphicElement.


      QE notes: test code hinting for layoutDirection

      Doc notes: none

      Bugs: SDK-25565, SDK-25823

      Reviewer: Carol, Hans

      Tests run: checkintests, Mirroring

      Is noteworthy for integration: no


      Ticket Links:







      Modified Paths:






          flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/primitives/supportClasses/Graph icElement.as