royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [royale-asjs] branch develop updated: fix Incompatible override
Date Wed, 15 Aug 2018 11:34:41 GMT
This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new c000b50  fix Incompatible override
c000b50 is described below

commit c000b50c8edcd1b3bf86195ca90c2434004e717c
Author: Carlos Rovira <carlosrovira@apache.org>
AuthorDate: Wed Aug 15 13:34:37 2018 +0200

    fix Incompatible override
---
 .../beads/itemRenderers/TableItemRendererFactoryForCollectionView.as | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/itemRenderers/TableItemRendererFactoryForCollectionView.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/itemRenderers/TableItemRendererFactoryForCollectionView.as
index 2c2ea26..f613afc 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/itemRenderers/TableItemRendererFactoryForCollectionView.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/itemRenderers/TableItemRendererFactoryForCollectionView.as
@@ -31,6 +31,7 @@ package org.apache.royale.jewel.beads.itemRenderers
 	import org.apache.royale.html.beads.IListView;
     import org.apache.royale.jewel.Label;
 	import org.apache.royale.jewel.Table;
+	import org.apache.royale.core.ISelectableItemRenderer;
 	import org.apache.royale.jewel.beads.itemRenderers.ITextItemRenderer;
 	import org.apache.royale.jewel.beads.models.TableModel;
 	import org.apache.royale.jewel.beads.views.TableView;
@@ -148,7 +149,7 @@ package org.apache.royale.jewel.beads.itemRenderers
 					labelField =  column.dataField;
                     // ir.labelField = labelField;
                     var item:Object = dp.getItemAt(i);
-                    fillRenderer(index++, item, ir, presentationModel);
+                    fillRenderer(index++, item, (ir as ISelectableItemRenderer), presentationModel);
 
                     (ir as DataItemRenderer).dataField = labelField;
 					(ir as DataItemRenderer).rowIndex = i;
@@ -187,7 +188,7 @@ package org.apache.royale.jewel.beads.itemRenderers
 		 */
 		override protected function fillRenderer(index:int,
 										item:Object,
-										itemRenderer:ITextItemRenderer,
+										itemRenderer:ISelectableItemRenderer,
 										presentationModel:IListPresentationModel):void
 		{
 			// tbody.addItemRendererAt(itemRenderer, index);


Mime
View raw message