flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [20/50] git commit: [flex-asjs] [refs/heads/feature/amf] - Misssing reference to DragDropJS
Date Wed, 06 Sep 2017 22:31:13 GMT
Misssing reference to DragDropJS


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6000f360
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6000f360
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6000f360

Branch: refs/heads/feature/amf
Commit: 6000f360d44c5a0f6c3a1f2c7431cc81df3e438c
Parents: fc3b484
Author: Harbs <harbs@in-tools.com>
Authored: Sun Sep 3 14:59:42 2017 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Sun Sep 3 14:59:42 2017 +0300

----------------------------------------------------------------------
 .../src/main/config/compile-js-config.xml       |  1 +
 .../main/flex/org/apache/flex/express/List.as   | 24 ++++++++++----------
 2 files changed, 13 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6000f360/frameworks/js/FlexJS/projects/ExpressJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/projects/ExpressJS/src/main/config/compile-js-config.xml
b/frameworks/js/FlexJS/projects/ExpressJS/src/main/config/compile-js-config.xml
index 95a0f22..00bfae6 100644
--- a/frameworks/js/FlexJS/projects/ExpressJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/FlexJS/projects/ExpressJS/src/main/config/compile-js-config.xml
@@ -65,6 +65,7 @@
             <path-element>../../../../../libs/GraphicsJS.swc</path-element>
             <path-element>../../../../../libs/CollectionsJS.swc</path-element>
             <path-element>../../../../../libs/BasicJS.swc</path-element>
+            <path-element>../../../../../libs/DragDropJS.swc</path-element>
         </library-path>
         
         <namespaces>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6000f360/frameworks/projects/Express/src/main/flex/org/apache/flex/express/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Express/src/main/flex/org/apache/flex/express/List.as b/frameworks/projects/Express/src/main/flex/org/apache/flex/express/List.as
index c454641..530d27a 100644
--- a/frameworks/projects/Express/src/main/flex/org/apache/flex/express/List.as
+++ b/frameworks/projects/Express/src/main/flex/org/apache/flex/express/List.as
@@ -26,10 +26,10 @@ package org.apache.flex.express
 	import org.apache.flex.html.beads.DataItemRendererFactoryForArrayList;
 	import org.apache.flex.html.beads.models.ArrayListSelectionModel;
 	import org.apache.flex.html.beads.models.ArraySelectionModel;
-//	import org.apache.flex.html.beads.SingleSelectionDragSourceBead;
-//	import org.apache.flex.html.beads.SingleSelectionDragImageBead;
-//	import org.apache.flex.html.beads.SingleSelectionDropTargetBead;
-//	import org.apache.flex.html.beads.SingleSelectionDropIndicatorBead;
+	import org.apache.flex.html.beads.SingleSelectionDragSourceBead;
+	import org.apache.flex.html.beads.SingleSelectionDragImageBead;
+	import org.apache.flex.html.beads.SingleSelectionDropTargetBead;
+	import org.apache.flex.html.beads.SingleSelectionDropIndicatorBead;
 	
 	public class List extends org.apache.flex.html.List
 	{
@@ -62,14 +62,14 @@ package org.apache.flex.express
 		{
 			super.addedToParent();
 			
-//			if (dragEnabled) {
-//				addBead(new SingleSelectionDragSourceBead());
-//				addBead(new SingleSelectionDragImageBead());
-//			}
-//			if (dropEnabled) {
-//				addBead(new SingleSelectionDropTargetBead());
-//				addBead(new SingleSelectionDropIndicatorBead());
-//			}
+			if (dragEnabled) {
+				addBead(new SingleSelectionDragSourceBead());
+				addBead(new SingleSelectionDragImageBead());
+			}
+			if (dropEnabled) {
+				addBead(new SingleSelectionDropTargetBead());
+				addBead(new SingleSelectionDropIndicatorBead());
+			}
 		}
 		
 		override public function set dataProvider(value:Object):void


Mime
View raw message