incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject svn commit: r1395240 - in /incubator/flex/utilities/trunk: common/src/assets/styles/ common/src/org/apache/flex/utilities/common/controls/ installer/src/ installer/src/org/apache/flex/packageflexsdk/model/ installer/src/org/apache/flex/packageflexsdk/r...
Date Sun, 07 Oct 2012 08:28:04 GMT
Author: bigosmallm
Date: Sun Oct  7 08:28:03 2012
New Revision: 1395240

URL: http://svn.apache.org/viewvc?rev=1395240&view=rev
Log:
Added explicit license agreement to all components that are being installed.  
Added links and license agreements to second screen

Added:
    incubator/flex/utilities/trunk/common/src/org/apache/flex/utilities/common/controls/
    incubator/flex/utilities/trunk/common/src/org/apache/flex/utilities/common/controls/LinkButton.as
Modified:
    incubator/flex/utilities/trunk/common/src/assets/styles/ApacheFlexToolsStyle.css
    incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml
    incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/model/InstallerComponentVO.as
    incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/resource/RuntimeLocale.as

Modified: incubator/flex/utilities/trunk/common/src/assets/styles/ApacheFlexToolsStyle.css
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/common/src/assets/styles/ApacheFlexToolsStyle.css?rev=1395240&r1=1395239&r2=1395240&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/common/src/assets/styles/ApacheFlexToolsStyle.css (original)
+++ incubator/flex/utilities/trunk/common/src/assets/styles/ApacheFlexToolsStyle.css Sun Oct
 7 08:28:03 2012
@@ -19,6 +19,7 @@ limitations under the License.
 @namespace s "library://ns.adobe.com/flex/spark";
 @namespace mx "library://ns.adobe.com/flex/mx";
 @namespace st "ws.tink.spark.controls.*";
+@namespace controls "org.apache.flex.utilities.common.controls.*";
 
 @font-face {
 	src: url("/assets/fonts/open-sans/OpenSans-LightItalic.ttf");
@@ -38,6 +39,17 @@ limitations under the License.
 	advancedAntiAliasing: true;
 }
 
+controls|LinkButton
+{
+	fontWeight: normal;
+	fontSize: 13;
+	color: #6666CC;
+	verticalCenter: 1;
+	textAlign: left;
+	rollOverTextDecoration:underline;
+	text-roll-over-color: #6666CC;
+}
+
 s|Button
 {
 	skinClass : ClassReference("ws.tink.spark.skins.controls.ButtonSkin");

Added: incubator/flex/utilities/trunk/common/src/org/apache/flex/utilities/common/controls/LinkButton.as
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/common/src/org/apache/flex/utilities/common/controls/LinkButton.as?rev=1395240&view=auto
==============================================================================
--- incubator/flex/utilities/trunk/common/src/org/apache/flex/utilities/common/controls/LinkButton.as
(added)
+++ incubator/flex/utilities/trunk/common/src/org/apache/flex/utilities/common/controls/LinkButton.as
Sun Oct  7 08:28:03 2012
@@ -0,0 +1,37 @@
+package org.apache.flex.utilities.common.controls
+{
+	import flash.events.MouseEvent;
+	import spark.components.Label;
+	
+	[Style(name="rollOverTextDecoration", type="String", enumeration="none,underline", inherit="yes")]
+	public class LinkButton extends Label
+	{
+		private var _textDecoration:String;
+		
+		override public function initialize():void
+		{
+			super.initialize();
+			setStyles();
+		}
+		
+		protected function setStyles():void
+		{
+			this.buttonMode=true;
+			this.addEventListener(MouseEvent.ROLL_OVER,handleRollOver);
+			this.addEventListener(MouseEvent.ROLL_OUT,handleRollOut);
+		}
+		
+		protected function handleRollOver(e:MouseEvent):void
+		{
+			_textDecoration=getStyle("textDecoration");
+			this.setStyle('textDecoration',getStyle("rollOverTextDecoration"));
+		}
+		
+		protected function handleRollOut(e:MouseEvent):void
+		{
+			this.clearStyle('textDecoration');
+			this.setStyle('textDecoration',_textDecoration);
+		}
+		
+	}
+}
\ No newline at end of file

Modified: incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml?rev=1395240&r1=1395239&r2=1395240&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml (original)
+++ incubator/flex/utilities/trunk/installer/src/InstallApacheFlex.mxml Sun Oct  7 08:28:03
2012
@@ -41,16 +41,16 @@ variables are not required because the l
 					   skinClass="ws.tink.spark.skins.controls.InstallApacheFlexSkin" 
 					   xmlns:controls="ws.tink.spark.controls.*" 
 					   xmlns:controls1="org.apache.flex.packageflexsdk.view.controls.*" 
-					   xmlns:components="org.apache.flex.packageflexsdk.view.components.*" 
+					   xmlns:components="org.apache.flex.packageflexsdk.view.components.*" xmlns:controls2="org.apache.flex.utilities.common.controls.*"

 					   >
 	
 	<fx:Style source="assets/styles/ApacheFlexToolsStyle.css" />
 	<fx:Style source="assets/styles/InstallApacheFlexStyle.css" />
 	
 	<fx:Script><![CDATA[
-		
 		import flash.globalization.LocaleID;
 		import flash.globalization.StringTools;
+		import flash.net.navigateToURL;
 		
 		import mx.collections.ArrayCollection;
 		import mx.core.IFlexDisplayObject;
@@ -187,8 +187,9 @@ variables are not required because the l
 		
 		[Bindable] private var _viewResourceConstants:ViewResourceConstants;
 		[Bindable] private var _installationSteps:ArrayCollection = new ArrayCollection();
-//		[Bindable] private var _optionalInstallsDataProvider:ArrayCollection = new ArrayCollection();
-		[Bindable] private var _licensesDataProvider:ArrayCollection = new ArrayCollection();
+		[Bindable] private var _installerComponentsDataProvider:ArrayCollection = new ArrayCollection();
+		[Bindable] private var _currentLicenseURL:String;
+		[Bindable] private var _currentLicenseLabel:String;
 		[Bindable] public var _messages:ArrayCollection = new ArrayCollection();
 		
 		protected function handleApplicationComplete(event:FlexEvent):void
@@ -417,7 +418,7 @@ variables are not required because the l
 		{
 			
 			initiateInstallStepsActivity();
-			initializeOptionInstallsDataProvider();
+			initializeInstallerComponentsDataProvider();
 			
 			checkVersion();
 		}
@@ -514,7 +515,7 @@ variables are not required because the l
 		
 		protected function addOptionalComponentsToInstallSteps():void
 		{
-			for each (var obj:InstallerComponentVO in _licensesDataProvider)
+			for each (var obj:InstallerComponentVO in _installerComponentsDataProvider)
 			{
 				if(!obj.required && obj.selected)
 				{
@@ -523,33 +524,59 @@ variables are not required because the l
 			}
 		}
 		
-		protected function initializeOptionInstallsDataProvider():void
+		protected function initializeInstallerComponentsDataProvider():void
 		{
-			_licensesDataProvider = new ArrayCollection();
-			_licensesDataProvider.addItem(
-				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_APACHE_FLEX_SDK,
-					_viewResourceConstants.ASK_APACHE_FLEX, true));
-			_licensesDataProvider.addItem(
-				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_FLASH_PLAYER_GLOBAL_SWC,
-					_viewResourceConstants.ASK_ADOBE_FLASH_PLAYER_GLOBAL_SWC, true));
-			_licensesDataProvider.addItem(
+			_installerComponentsDataProvider = new ArrayCollection();
+			_installerComponentsDataProvider.addItem(
+				new InstallerComponentVO(
+					_viewResourceConstants.STEP_REQUIRED_INSTALL_APACHE_FLEX_SDK,
+					_viewResourceConstants.ASK_APACHE_FLEX,
+					_viewResourceConstants.LICENSE_APACHE_V2,
+					_viewResourceConstants.LICENSE_URL_APACHE_V2,
+					true
+				));
+			_installerComponentsDataProvider.addItem(
 				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_ADOBE_AIR_SDK,
-					_viewResourceConstants.ASK_ADOBE_AIR_SDK, true));
-			_licensesDataProvider.addItem(
+					_viewResourceConstants.ASK_ADOBE_AIR_SDK, 
+					_viewResourceConstants.LICENSE_ADOBE_AIR_SDK,
+					_viewResourceConstants.LICENSE_URL_ADOBE_AIR_SDK,
+					true));
+			_installerComponentsDataProvider.addItem(
+				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_FLASH_PLAYER_GLOBAL_SWC,
+					_viewResourceConstants.ASK_ADOBE_FLASH_PLAYER_GLOBAL_SWC, 
+					_viewResourceConstants.LICENSE_ADOBE_SDK,
+					_viewResourceConstants.LICENSE_URL_ADOBE_SDK,
+					true));
+			_installerComponentsDataProvider.addItem(
 				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_SWFOBJECT,
-					_viewResourceConstants.ASK_SWFOBJECT, true));
-			_licensesDataProvider.addItem(
+					_viewResourceConstants.ASK_SWFOBJECT, 
+					_viewResourceConstants.LICENSE_SWFOBJECT,
+					_viewResourceConstants.LICENSE_URL_SWFOBJECT,
+					true));
+			_installerComponentsDataProvider.addItem(
 				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_OSMF,
-					_viewResourceConstants.ASK_OSMF, true));
-			_licensesDataProvider.addItem(
+					_viewResourceConstants.ASK_OSMF, 
+					_viewResourceConstants.LICENSE_OSMF,
+					_viewResourceConstants.LICENSE_URL_OSMF,
+					true));
+			_installerComponentsDataProvider.addItem(
 				new InstallerComponentVO(_viewResourceConstants.STEP_REQUIRED_INSTALL_TLF,
-					_viewResourceConstants.ASK_TLF, true));
-			_licensesDataProvider.addItem(
+					_viewResourceConstants.ASK_TLF, 
+					_viewResourceConstants.LICENSE_TLF,
+					_viewResourceConstants.LICENSE_URL_TLF,
+					true));
+			_installerComponentsDataProvider.addItem(
 				new InstallerComponentVO(_viewResourceConstants.STEP_OPTIONAL_INSTALL_FONTSWF,
-					_viewResourceConstants.ASK_FONTSWF, false));
-			_licensesDataProvider.addItem(
+					_viewResourceConstants.ASK_FONTSWF, 
+					_viewResourceConstants.LICENSE_FONTSWF,
+					_viewResourceConstants.LICENSE_URL_FONTSWF,
+					false));
+			_installerComponentsDataProvider.addItem(
 				new InstallerComponentVO(_viewResourceConstants.STEP_OPTIONAL_INSTALL_BLAZEDS,
-					_viewResourceConstants.ASK_BLAZEDS, false));
+					_viewResourceConstants.ASK_BLAZEDS, 
+					_viewResourceConstants.LICENSE_BLAZEDS,
+					_viewResourceConstants.LICENSE_URL_BLAZEDS,
+					false));
 		}
 		
 		protected function install():void
@@ -1041,7 +1068,6 @@ variables are not required because the l
 				swfObjectDir.deleteDirectory(true);
 				
 				updateActivityStep(_viewResourceConstants.STEP_REQUIRED_INSTALL_SWFOBJECT, StepItem.COMPLETE);
-//				installNextOptionalComponent();
 				installOSMF();
 
 			}
@@ -1063,7 +1089,7 @@ variables are not required because the l
 		
 		protected function installNextOptionalComponent():void
 		{
-			for each (var obj:InstallerComponentVO in _licensesDataProvider)
+			for each (var obj:InstallerComponentVO in _installerComponentsDataProvider)
 			{
 				if(obj.selected && !obj.installed && !obj.aborted)
 				{
@@ -1341,7 +1367,7 @@ variables are not required because the l
 		
 		protected function updateOptionalComponentInstallStatus(label:String,isInstalled:Boolean):void
 		{
-			for each (var obj:InstallerComponentVO in _licensesDataProvider)
+			for each (var obj:InstallerComponentVO in _installerComponentsDataProvider)
 			{
 				if(obj.label == label)
 				{
@@ -1352,7 +1378,7 @@ variables are not required because the l
 		
 		protected function updateOptionalComponentInstallStatusAborted(label:String,isAborted:Boolean):void
 		{
-			for each (var obj:InstallerComponentVO in _licensesDataProvider)
+			for each (var obj:InstallerComponentVO in _installerComponentsDataProvider)
 			{
 				if(obj.label == label)
 				{
@@ -1364,7 +1390,7 @@ variables are not required because the l
 		protected function checkAndHandleAllOptionalComponentsInstalled():void
 		{
 			var allComponentsInstalled:Boolean = true;
-			for each (var obj:InstallerComponentVO in _licensesDataProvider)
+			for each (var obj:InstallerComponentVO in _installerComponentsDataProvider)
 			{
 				if(!obj.required && obj.selected && !(obj.installed || obj.aborted))
 				{
@@ -1433,7 +1459,7 @@ variables are not required because the l
 			{
 				updateWindowTitle();
 				initiateInstallStepsActivity();
-				initializeOptionInstallsDataProvider();
+				initializeInstallerComponentsDataProvider();
 			}
 		}
 
@@ -1472,31 +1498,31 @@ variables are not required because the l
 			{
 				installChkBx.selected = false;
 			}
-			if(selectedItem.message == _viewResourceConstants.ASK_OSMF || selectedItem.message ==
_viewResourceConstants.ASK_TLF)
-			{
-				mplLicenseBtn.includeInLayout = mplLicenseBtn.visible = true;
-				adobeLicenseBtn.includeInLayout = adobeLicenseBtn.visible = false;
-			}
-			if(selectedItem.message == _viewResourceConstants.ASK_BLAZEDS || selectedItem.message
== _viewResourceConstants.ASK_FONTSWF)
-			{
-				mplLicenseBtn.includeInLayout = mplLicenseBtn.visible = false;
-				adobeLicenseBtn.includeInLayout = adobeLicenseBtn.visible = true;
-			}
+			
+			licenseLinkBtn.includeInLayout = true;
+			_currentLicenseLabel = selectedItem.licenseName;
+			_currentLicenseURL = selectedItem.licenseURL;
+			
+		}
+		
+		protected function handleLicenceBtnClick(event:Event):void
+		{
+			navigateToURL(new URLRequest(_currentLicenseURL),"_blank");
 		}
 		
 		protected function handleInstallPermissionChange(event:Event):void
 		{
-			if(optionalComponentsList.selectedItem != null)
+			if(installComponentsList.selectedItem != null)
 			{
-				optionalComponentsList.selectedItem.selected = (event.target.selected);
-				optionalComponentsList.selectedItem.answered = true;
+				installComponentsList.selectedItem.selected = (event.target.selected);
+				installComponentsList.selectedItem.answered = true;
 			}
 			else
 			{
-				for (var i:int=0; i<_licensesDataProvider.length; i++)
+				for (var i:int=0; i<_installerComponentsDataProvider.length; i++)
 				{
-					_licensesDataProvider.getItemAt(i).selected = event.target.selected;
-					_licensesDataProvider.getItemAt(i).answered = true;
+					_installerComponentsDataProvider.getItemAt(i).selected = event.target.selected;
+					_installerComponentsDataProvider.getItemAt(i).answered = true;
 				}
 			}
 			checkIfAllRequiredComponentsPromptsAnswered();
@@ -1505,7 +1531,7 @@ variables are not required because the l
 		protected function checkIfAllRequiredComponentsPromptsAnswered():void
 		{
 			var success:Boolean = true;
-			for each (var obj:InstallerComponentVO in _licensesDataProvider)
+			for each (var obj:InstallerComponentVO in _installerComponentsDataProvider)
 			{
 				if(obj.required && !obj.selected)
 				{
@@ -1960,11 +1986,11 @@ variables are not required because the l
 			width="100%" 
 			height="100%" 
 			horizontalAlign="center">
-			<s:List id="optionalComponentsList" 
+			<s:List id="installComponentsList" 
 					width="50%" 
 					height="100%"
 					itemRenderer="org.apache.flex.packageflexsdk.view.itemrenderers.OptionalInstallItemRenderer"
-					dataProvider="{_licensesDataProvider}" 
+					dataProvider="{_installerComponentsDataProvider}" 
 					change="handleOptionalInstallsChange(event)">
 				<s:layout>
 					<s:VerticalLayout />
@@ -1986,16 +2012,13 @@ variables are not required because the l
 						label="{_viewResourceConstants.INSTALL_AGREE_ALL}" 
 						selected="false" 
 						change="handleInstallPermissionChange(event)"/>
-			<s:Button id="mplLicenseBtn" 
-					  label="{_viewResourceConstants.BTN_LABEL_MPL_LICENSE}" 
-					  styleName="genericBtnStyle" 
-					  click="{showMPLLicense(event)}" 
-					  includeInLayout="true" />
-			<s:Button id="adobeLicenseBtn" 
-					  label="{_viewResourceConstants.BTN_LABEL_ADOBE_LICENSE}" 
-					  styleName="genericBtnStyle" 
-					  click="{showAdobeLicense(event)}" 
-					  includeInLayout="true" />
+			<controls2:LinkButton id="licenseLinkBtn"
+								  text="{_currentLicenseLabel}"
+								  fontWeight="bold"
+								  click="{handleLicenceBtnClick(event)}"
+								  includeInLayout="false"
+								  />
+						   
 		</s:HGroup>
 	</s:Panel>
 	<s:Panel id="thirdStepGroup" 
@@ -2049,9 +2072,6 @@ variables are not required because the l
 				  label="{_viewResourceConstants.BTN_LABEL_INSTALL_LOG}" 
 				  click="showConsole(event)" />
 		<s:Spacer width="100%" />
-		<!--<s:Button label="Update" click="{showUpdateDialog(new XML())}" />-->
-		<s:Spacer width="100%" />
-		
 		<s:Button id="closeBtn" 
 				  styleName="genericBtnStyle" 
 				  width="88" 

Modified: incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/model/InstallerComponentVO.as
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/model/InstallerComponentVO.as?rev=1395240&r1=1395239&r2=1395240&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/model/InstallerComponentVO.as
(original)
+++ incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/model/InstallerComponentVO.as
Sun Oct  7 08:28:03 2012
@@ -29,8 +29,19 @@ package org.apache.flex.packageflexsdk.m
 		public var installed:Boolean=false;
 		public var aborted:Boolean=false;
 		public var answered:Boolean = false;
+		public var licenseName:String;
+		public var licenseURL:String;
 		
-		public function InstallerComponentVO(label:String,message:String,required:Boolean,selected:Boolean=false,installed:Boolean=false,aborted:Boolean=false,answered:Boolean=false)
+		public function InstallerComponentVO(label:String,
+											 message:String,
+											 licenseName:String,
+											 licenseURL:String,
+											 required:Boolean,
+											 selected:Boolean=false,
+											 installed:Boolean=false,
+											 aborted:Boolean=false,
+											 answered:Boolean=false
+											)
 		{
 			this.label = label;
 			this.message = message;
@@ -39,6 +50,8 @@ package org.apache.flex.packageflexsdk.m
 			this.installed = installed;
 			this.aborted = aborted;
 			this.answered = answered;
+			this.licenseName = licenseName;
+			this.licenseURL = licenseURL;
 		}
 	}
 }
\ No newline at end of file

Modified: incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/resource/RuntimeLocale.as
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/resource/RuntimeLocale.as?rev=1395240&r1=1395239&r2=1395240&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/resource/RuntimeLocale.as
(original)
+++ incubator/flex/utilities/trunk/installer/src/org/apache/flex/packageflexsdk/resource/RuntimeLocale.as
Sun Oct  7 08:28:03 2012
@@ -294,15 +294,14 @@ public class RuntimeLocale
 		var resource:ResourceBundle = new ResourceBundle(locale, ViewResourceConstants.BUNDLE_NAME);
 		
 		var content:Object = resource.content;
-		content["ASK_BLAZEDS"]="Apache Flex can optionally integrate with Adobe BlazeDS. This feature
requires flex-messaging-common.jar from the Adobe Flex SDK. The Adobe SDK license agreement
for Adobe Flex 4.6 applies to this jar. This license is not compatible with the Apache v2
license. Do you want to install this jar from the Adobe Flex SDK?"
-		content["ASK_FONTSWF"]="Apache Flex can optionally integrate with Adobe's embedded font
support. This feature requires a few font jars from the Adobe Flex SDK. The Adobe SDK license
agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the
Apache v2 license. Do you want to install these jars from the Adobe Flex SDK?";
+		content["ASK_BLAZEDS"]="Apache Flex can optionally integrate with Adobe BlazeDS. This feature
requires flex-messaging-common.jar from the Adobe Flex SDK. The Adobe SDK license agreement
for Adobe Flex 4.6 applies to this jar. This license is not compatible with the Apache V2
license. Do you want to install this jar from the Adobe Flex SDK?"
+		content["ASK_FONTSWF"]="Apache Flex can optionally integrate with Adobe's embedded font
support. This feature requires a few font jars from the Adobe Flex SDK. The Adobe SDK license
agreement for Adobe Flex 4.6 applies to these jars. This license is not compatible with the
Apache V2 license. Do you want to install these jars from the Adobe Flex SDK?";
 		content["ASK_OSMF"]="The Open Source Media Framework (OSMF) used by the video components
is licensed under the Mozilla Public License Version 1.1.  Do you want to install The Open
Source Media Framework (OSMF)?";
 		content["ASK_TLF"]="The Adobe Text Layout Framework (TLF) used by the Spark text components
is licensed under the Mozilla Public License Version 1.1.  Do you want to install The Adobe
Text Layout Framework (TLF)?";
-		content["ASK_APACHE_FLEX"]="The Apache License v2 applies to the Apache Flex SDK.  Do you
want to install the Apache Flex SDK?";
+		content["ASK_APACHE_FLEX"]="The Apache License V2 applies to the Apache Flex SDK.  Do you
want to install the Apache Flex SDK?";
 		content["ASK_ADOBE_AIR_SDK"]="The Adobe SDK license agreement applies to the Adobe AIR
SDK.  Do you want to install the Adobe AIR SDK?";
 		content["ASK_ADOBE_FLASH_PLAYER_GLOBAL_SWC"]="The Adobe SDK license agreement applies to
the Adobe Flash Player playerglobal.swc.  Do you want to install the Adobe Flash Player playerglobal.swc?";
 		content["ASK_SWFOBJECT"]="The The MIT License (MIT) applies to the SWFObject utility. 
Do you want to install the SWFObject utility?";
-		
 		content["BTN_LABEL_ADOBE_LICENSE"]="SHOW ADOBE LICENSE";
 		content["BTN_LABEL_BROWSE"]="BROWSE";
 		content["BTN_LABEL_CLOSE"]="CLOSE";
@@ -363,7 +362,7 @@ public class RuntimeLocale
 		content["INFO_INSTALLING_PLAYERGLOBAL_SWC"]="Installing Adobe Flash Player playerglobal.swc
from: ";
 		content["INFO_INVOKED_GUI_MODE"]="invoked in GUI mode";
 		content["INFO_LICENSE_AGREEMENTS"]="License Agreements";
-		content["INFO_NEED_TO_READ_AND_AGREE_TO_LICENSE"]="These components have license agreements
other than Apache License v2. Please click on each item on the left, read the license and
confirm that you agree to the terms of each license.";
+		content["INFO_NEED_TO_READ_AND_AGREE_TO_LICENSE"]="These components have license agreements
other than Apache License V2. Please click on each item on the left, read the license and
confirm that you agree to the terms of each license.";
 		content["INFO_SELECT_DIRECTORY"]="Select the directory where you want to install the Flex
SDK";
 		content["INFO_SELECT_DIRECTORY_INSTALL"]="Select installation directory";
 		content["INFO_UNZIPPING"]="Uncompressing: ";
@@ -383,14 +382,26 @@ public class RuntimeLocale
 		content["STEP_REQUIRED_INSTALL_TLF"]="Adobe Text Layout Framework (Required)";
 		content["STEP_OPTIONAL_INSTALL_BLAZEDS"]="BlazeDS (Optional)";
 		content["STEP_OPTIONAL_INSTALL_FONTSWF"]="Adobe Embedded Font Libraries and Utilities (Optional)";
-
-		
-		
-		
 		content["STEP_REQUIRED_UNZIP_AIR_RUNTIME_KIT"]="Uncompress Adobe AIR Runtime Kit";
 		content["STEP_UNZIP_AIR_RUNTIME_KIT"]="Uncompress Adobe AIR Runtime Kit";
 		content["STEP_UNZIP_FLEX_SDK"]="Uncompress Apache Flex SDK";
 		content["STEP_VERIFY_FLEX_SDK"]="Verifying Apache Flex SDK MD5 Signature";
+		content["LICENSE_APACHE_V2"]="Apache V2 License";
+		content["LICENSE_URL_APACHE_V2"]="http://www.apache.org/licenses/LICENSE-2.0.html";
+		content["LICENSE_ADOBE_SDK"]="Adobe Flex SDK License";
+		content["LICENSE_URL_ADOBE_SDK"]="http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf";
+		content["LICENSE_ADOBE_AIR_SDK"]="Adobe AIR SDK License";
+		content["LICENSE_URL_ADOBE_AIR_SDK"]="http://www.adobe.com/products/air/sdk-eula.html";
+		content["LICENSE_SWFOBJECT"]="MIT License";
+		content["LICENSE_URL_SWFOBJECT"]="http://opensource.org/licenses/mit-license.php";
+		content["LICENSE_OSMF"]="Mozilla Public License Version 1.1";
+		content["LICENSE_URL_OSMF"]="http://www.mozilla.org/MPL/";
+		content["LICENSE_TLF"]="Mozilla Public License Version 1.1";
+		content["LICENSE_URL_TLF"]="http://www.mozilla.org/MPL/";
+		content["LICENSE_FONTSWF"]="Adobe Flex SDK License";
+		content["LICENSE_URL_FONTSWF"]="http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf";
+		content["LICENSE_BLAZEDS"]="Adobe Flex SDK License";
+		content["LICENSE_URL_BLAZEDS"]="http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf";
 		
 		_resourceManager.addResourceBundle(resource);
 	}
@@ -470,8 +481,8 @@ public class RuntimeLocale
 		var resource:ResourceBundle = new ResourceBundle(locale, ViewResourceConstants.BUNDLE_NAME);
 		
 		var content:Object = resource.content;
-		content["ASK_BLAZEDS"]="Apache Flex pode, opcionalmente, integrar-se com Adobe BlazeDS.
Esta integração requer flex-messaging-common.jar do Adobe Flex SDK, que esta sob o contrato
de licença do Adobe SDK para Adobe Flex 4.6. Esta licença não é compatível
com a licença Apache v2. Você quer instalar este jar a partir do Adobe Flex SDK?";
-		content["ASK_FONTSWF"]="Apache Flex pode, opcionalmente, integrar-se com o suporte de fontes
embutidas da Adobe. Este recurso requer alguns jars do Adobe Flex SDK, que estão sob o
contrato de licença do Adobe Flex 4.6. Esta licença não é compatível com a
licença Apache v2. Você quer instalar estes jars a partir do Adobe Flex SDK?";
+		content["ASK_BLAZEDS"]="Apache Flex pode, opcionalmente, integrar-se com Adobe BlazeDS.
Esta integração requer flex-messaging-common.jar do Adobe Flex SDK, que esta sob o contrato
de licença do Adobe SDK para Adobe Flex 4.6. Esta licença não é compatível
com a licença Apache V2. Você quer instalar este jar a partir do Adobe Flex SDK?";
+		content["ASK_FONTSWF"]="Apache Flex pode, opcionalmente, integrar-se com o suporte de fontes
embutidas da Adobe. Este recurso requer alguns jars do Adobe Flex SDK, que estão sob o
contrato de licença do Adobe Flex 4.6. Esta licença não é compatível com a
licença Apache V2. Você quer instalar estes jars a partir do Adobe Flex SDK?";
 		content["ASK_OSMF"]="O Open Source Media Framework (OSMF) utilizado pelos componentes de
video está sob a licença Mozilla Public License Version 1.1.";
 		content["ASK_TLF"]="O Adobe Text Layout Framework (TLF) utilizado pelos componentes de
texto Spark está sob a licença Mozilla Public License Version 1.1.";
 		content["BTN_LABEL_ADOBE_LICENSE"]="LICENÇA ADOBE";



Mime
View raw message