You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/08/23 06:45:18 UTC

[11/50] [abbrv] git commit: [flex-utilities] [refs/heads/master] - Add i18N spark examples

Add i18N spark examples


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/1830c22a
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/1830c22a
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/1830c22a

Branch: refs/heads/master
Commit: 1830c22a9c72694afafb84a3c42c5a7d7fa8297d
Parents: a401b99
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Aug 10 15:40:20 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Aug 10 15:40:20 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/build.xml        | 22 ++++++++++++++++++++--
 TourDeFlex/TourDeFlex3/src/explorer.xml | 19 ++++++++++++++++++-
 2 files changed, 38 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/1830c22a/TourDeFlex/TourDeFlex3/build.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/build.xml b/TourDeFlex/TourDeFlex3/build.xml
index da4aee3..5284f10 100644
--- a/TourDeFlex/TourDeFlex3/build.xml
+++ b/TourDeFlex/TourDeFlex3/build.xml
@@ -48,7 +48,7 @@
 		</sequential>
 	</macrodef>	
 		
-	<target name="compile" depends="compile-shell,compile-mx,compile-spark">
+	<target name="compile" depends="compile-shell,compile-mx,compile-spark,compile-spark2">
 	</target>
 	
 	<target name="compile-shell">
@@ -294,9 +294,27 @@
 		<compile-mxml example="/spark/modules/ModuleExample"/>
 		<compile-mxml example="/spark/modules/Module1"/>
 		<compile-mxml example="/spark/modules/Module2"/>
-		
+
 		<!-- currently broken <compile-mxml example="/spark/tlf/TextLayoutEditorSample"/> -->
 	</target>
+	
+	<target name="compile-spark2">
+		<compile-mxml example="/spark/i18n/SparkCollatorExample"/>
+		<compile-mxml example="/spark/i18n/SparkCollator2Example"/>
+		<compile-mxml example="/spark/i18n/SparkCurrencyValidatorExample"/>
+		<compile-mxml example="/spark/i18n/SparkCurrencyValidator2Example"/>
+		<compile-mxml example="/spark/i18n/SparkNumberValidatorExample"/>
+		<compile-mxml example="/spark/i18n/SparkNumberValidator2Example"/>
+		<compile-mxml example="/spark/i18n/SparkDateTimeFormatterExample"/>
+		<compile-mxml example="/spark/i18n/SparkDateTimeFormatter2Example"/>
+		<compile-mxml example="/spark/i18n/SparkCurrencyFormatterExample"/>
+		<compile-mxml example="/spark/i18n/SparkCurrencyFormatter2Example"/>
+		<compile-mxml example="/spark/i18n/SparkNumberFormatterExample"/>
+		<compile-mxml example="/spark/i18n/SparkNumberFormatter2Example"/>
+		<compile-mxml example="/spark/i18n/SparkSortandSortFieldExample"/>
+		<compile-mxml example="/spark/i18n/SparkSortandSortField2Example"/>
+		<compile-mxml example="/spark/i18n/SparkStringToolsExample"/>
+	</target>
 		
 	<target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip">
 	</target>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/1830c22a/TourDeFlex/TourDeFlex3/src/explorer.xml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.xml b/TourDeFlex/TourDeFlex3/src/explorer.xml
index a1f0115..da2f503 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.xml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.xml
@@ -222,6 +222,23 @@
 					<node label="Search" app="spark/components/SearchExample" />
 					<node label="Video Player" app="spark/components/VideoPlayerExample" />
 				</node>
+				<node label="i18n">
+					<node label="Collator" app="spark/i18n/SparkCollatorExample"/>
+					<node label="Basic Collator" app="spark/i18n/SparkCollator2Example"/>
+					<node label="Currency Validator" app="spark/i18n/SparkCurrencyValidatorExample"/>
+					<node label="Basic Currency Validator" app="spark/i18n/SparkCurrencyValidator2Example"/>
+					<node label="Number Validator" app="spark/i18n/SparkNumberValidatorExample"/>
+					<node label="Basic Number Validator" app="spark/i18n/SparkNumberValidator2Example"/>
+					<node label="Date Time Formatter" app="spark/i18n/SparkDateTimeFormatterExample"/>
+					<node label="Basic Date Time Formatter" app="spark/i18n/SparkDateTimeFormatter2Example"/>
+					<node label="Currency Formatter" app="spark/i18n/SparkCurrencyFormatterExample"/>
+					<node label="Basic Currency Formatter" app="spark/i18n/SparkCurrencyFormatter2Example"/>
+					<node label="Number Formatter" app="spark/i18n/SparkNumberFormatterExample"/>
+					<node label="Basic Number Formatter" app="spark/i18n/SparkNumberFormatter2Example"/>
+					<node label="Sort" app="spark/i18n/SparkSortandSortFieldExample"/>
+					<node label="Basic Sort" app="spark/i18n/SparkSortandSortField2Example"/>
+					<node label="String Tools" app="spark/i18n/SparkStringToolsExample"/>
+				</node>	
 				<node label="Item Renderers">
 					<node label="Scale Image" app="spark/itemRenderers/ItemRenderer1Example" />
 					<node label="3D Rotate" app="spark/itemRenderers/ItemRenderer2Example" />
@@ -283,7 +300,7 @@
 					<node label="ToolTip" app="spark/controls/ToolTipExample" />
 					<node label="Tree" app="spark/controls/TreeExample" />
 					<node label="VideoDisplay" app="spark/controls/VideoDisplayExample" />
-				</node>
+				</node>	
 				<node label="Button Controls">
 					<node label="LinkBar" app="spark/controls/LinkBarExample" />
 					<node label="LinkButton" app="spark/controls/LinkButtonExample" />