0 Replies Latest reply on Sep 2, 2009 7:45 PM by rfrishbe

    [svn:fx-trunk] 9948: Spark Primitive Text Changes.

    rfrishbe Level 3

      Revision: 9948

      Author:   rfrishbe@adobe.com

      Date:     2009-09-02 19:44:59 -0700 (Wed, 02 Sep 2009)

       

      Log Message:

      ***********

      Spark Primitive Text Changes.  See http://opensource.adobe.com/wiki/display/flexsdk/SparkTextPrimitives+Decision for the full information and reasoning for the decision.  The main changes are:

       

      • Replace SimpleText with Label, a UIComponent version of the same component

      • Instead of extending GraphicElement, RichText will extend UIComponent (like Label will)

      • All of the spark text components will move to spark.components.*, so there will be spark.components.Label, spark.components.RichText, and spark.components.RichEditableText

      • The base class for SimpleText and RichText, spark.primitives.supportClasses.TextGraphicElement, will now extend UIComponent (instead of GraphicElement) and be moved and renamed to spark.components.supportClasses.TextBase. All of our text skin parts will now be typed as TextBase instead of TextGraphicElement

      • For now, RichEditableText and RichText will co-exist. Performance numbers showed that it may be possible to collapse them, but we don't have the time right now to do this. We will revisit this later on, time permitting.

       

       

      QE notes: Jody and Brian have been helping out coordinate this change

      Doc notes: I updated some ASDoc examples, but more work needs to be done here

      Bugs: -

      Reviewer: Gordon

      Tests run: checkintests, Jody and Brian have been running tests

      Is noteworthy for integration: Yes

       

      Modified Paths:

      **************

          flex/sdk/trunk/development/eclipse/flex/sparkTest/src/SkinTest.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleB ar.as

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowed ApplicationSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplication Skin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacTit leBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleB arSkin.mxml

          flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ButtonBarE xample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/CheckBoxEx ample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/DataGroupV irtualizationExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/DropDownLi stExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/GroupExamp le.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/HSliderExa mple.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ListExampl e.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/NumericSte pperExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/PanelExamp le.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ToggleButt onExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/VSliderExa mple.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/AnimateColorE ffectExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/AnimateTransi tionShaderExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/CrossFadeExam ple.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/WipeExample.m xml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/examples/DescendantSele ctorExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/examples/IDSelectorExam ple.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/examples/PseudoSelector Example.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/styles/examples/TypeClassSelec torExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/mediaClasses/VolumeBar.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.a s

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer .as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTex tBase.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.m xml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mx ml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarMiddleButtonSkin. mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/HSliderSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/RadioButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VSliderSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/mediaClasses/fullScreen/Sc rubBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/mediaClasses/normal/ScrubB arSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButt onSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButto nSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleBut tonSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultButtonSkin. mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.m xml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mx ml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.m xml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VideoPlayerSkin.mx ml

          flex/sdk/trunk/frameworks/spark-manifest.xml

          flex/sdk/trunk/frameworks/tests/basicTests/halo/views/AccordionTests.mxml

          flex/sdk/trunk/frameworks/tests/basicTests/halo/views/TabNavigatorTests.mxml

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

          flex/sdk/trunk/mustella/mustella.swc

       

      Added Paths:

      ***********

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/LabelExamp le.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/RichEditab leTextExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/RichTextEx ample.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.png

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.png

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.png

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/RichEditable TextContainerManager.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/RichEditable TextEditManager.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as

       

      Removed Paths:

      *************

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/examples/RichEditab leTextExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/examples/RichTextEx ample.mxml

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/examples/SimpleText Example.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.png

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichText.png

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/SimpleText.png

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/RichEditable TextEditManager.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/TextGraphicE lement.as