You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/08/30 20:37:31 UTC

[19/32] git commit: [flex-asjs] [refs/heads/feature/dragAndDrop] - Fixed a few errors in DataGridXcompile

Fixed a few errors in DataGridXcompile


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

Branch: refs/heads/feature/dragAndDrop
Commit: f0ddbd345147baa20c661b4d1499d0ff7ef7c868
Parents: ebc568a
Author: Harbs <ha...@in-tools.com>
Authored: Tue Aug 22 11:01:33 2017 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Tue Aug 22 11:01:33 2017 +0300

----------------------------------------------------------------------
 .../apache/flex/html/customControls/beads/DataGridView.as |  8 ++++++++
 .../apache/flex/html/staticControls/beads/BoxGridView.as  | 10 +++++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f0ddbd34/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
----------------------------------------------------------------------
diff --git a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
index 15fe694..ba189d2 100644
--- a/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
+++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/customControls/beads/DataGridView.as
@@ -26,6 +26,7 @@ package org.apache.flex.html.customControls.beads
 	import org.apache.flex.core.IDataGridModel;
 	import org.apache.flex.core.IDataGridPresentationModel;
 	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.IUIBase;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
@@ -145,5 +146,12 @@ package org.apache.flex.html.customControls.beads
 			
 			IEventDispatcher(_strand).dispatchEvent(new Event('change'));
 		}
+		/**
+		 * @flexjsignorecoercion org.apache.flex.core.IUIBase
+		 */
+		public function get host():IUIBase
+		{
+			return _strand as IUIBase;
+		}
 	}
 }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f0ddbd34/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
----------------------------------------------------------------------
diff --git a/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as b/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
index a9d7b8f..7a75394 100644
--- a/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
+++ b/manualtests/DataGridXcompile/src/org/apache/flex/html/staticControls/beads/BoxGridView.as
@@ -16,10 +16,11 @@
 //  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////
-package org.apache.flex.html.beads
+package org.apache.flex.html.staticControls.beads
 {
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IStrand;
+	import org.apache.flex.core.IUIBase;
 	import org.apache.flex.core.UIBase;
 	import org.apache.flex.html.Label;
 	
@@ -44,5 +45,12 @@ package org.apache.flex.html.beads
 			label.height = 25;
 			UIBase(_strand).addElement(label);
 		}
+		/**
+		 * @flexjsignorecoercion org.apache.flex.core.IUIBase
+		 */
+		public function get host():IUIBase
+		{
+			return _strand as IUIBase;
+		}
 	}
 }