0 Replies Latest reply on Nov 9, 2009 3:50 PM by Darrell Loverin

    [svn:fx-trunk] 11575: Put default style declarations into one class per application or module.

    Darrell Loverin Level 4

      Revision: 11575

      Author:   dloverin@adobe.com

      Date:     2009-11-09 11:34:57 -0800 (Mon, 09 Nov 2009)

       

      Log Message:

      ***********

      Put default style declarations into one class per application or module.

       

      Generate all the default styles in one class instead of a class for each style. The name of the style class will be based on the application or module name. An application named ?\226?\128?\156foo?\226?\128?\157 will have a style class named ?\226?\128?\156_foo_Style?\226?\128?\157. The idea is to allow applications to be compiled with different themes and get their owns styles. Currently this is not possible because a global style in both themes will have the same class name, _globalStyle. Whatever class the top-level application loads the sub-applications and modules will have to use the same class because of the flash player first-class-in-wins rule. Now each application and module will have their own style class.

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-22454

      Reviewer: Paul, Pete

      Tests run: checkintests, all mustella tests.

      Is noteworthy for integration: No.

       

      Ticket Links:

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

          http://bugs.adobe.com/jira/browse/SDK-22454

       

      Modified Paths:

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

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java