flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [32/50] [abbrv] git commit: [flex-asjs] [refs/heads/dual] - - Remove beadsAdded TabsItemRendererFactoryForArrayData - Remove completeSetup from TabBarView
Date Tue, 18 Apr 2017 06:17:56 GMT
- Remove beadsAdded TabsItemRendererFactoryForArrayData
- Remove completeSetup from TabBarView


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

Branch: refs/heads/dual
Commit: 331371c465d449b90d36aa4efd9b5b529d0f55bd
Parents: 7f8b440
Author: piotrz <piotrz@apache.org>
Authored: Mon Apr 10 00:18:45 2017 +0200
Committer: piotrz <piotrz@apache.org>
Committed: Mon Apr 10 00:18:45 2017 +0200

----------------------------------------------------------------------
 .../mdl/beads/TabsItemRendererFactoryForArrayData.as   |  6 ------
 .../flex/org/apache/flex/mdl/beads/views/TabBarView.as | 13 -------------
 2 files changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/331371c4/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TabsItemRendererFactoryForArrayData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TabsItemRendererFactoryForArrayData.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TabsItemRendererFactoryForArrayData.as
index 6548550..ecd38b7 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TabsItemRendererFactoryForArrayData.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/TabsItemRendererFactoryForArrayData.as
@@ -72,7 +72,6 @@ package org.apache.flex.mdl.beads
         public function set strand(value:IStrand):void
         {
             _strand = value;
-            IEventDispatcher(value).addEventListener("beadsAdded",finishSetup);
             IEventDispatcher(value).addEventListener("initComplete",finishSetup);
         }
 
@@ -86,7 +85,6 @@ package org.apache.flex.mdl.beads
          */
         private function finishSetup(event:Event):void
         {
-            IEventDispatcher(_strand).removeEventListener("beadsAdded",finishSetup);
             IEventDispatcher(_strand).removeEventListener("initComplete",finishSetup);
 
             dataProviderModel = _strand.getBeadByType(ITabModel) as ITabModel;
@@ -170,10 +168,6 @@ package org.apache.flex.mdl.beads
                     UIBase(ir).percentWidth = 100;
                 }
                 ir.data = dp[i];
-
-                var newEvent:ItemRendererEvent = new ItemRendererEvent(ItemRendererEvent.CREATED);
-                newEvent.itemRenderer = ir;
-                dispatchEvent(newEvent);
             }
 
             IEventDispatcher(_strand).dispatchEvent(new Event("itemsCreated"));

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/331371c4/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/TabBarView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/TabBarView.as
b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/TabBarView.as
index 86d25b2..0b4364c 100644
--- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/TabBarView.as
+++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/views/TabBarView.as
@@ -52,19 +52,6 @@ package org.apache.flex.mdl.beads.views
         {
             super.itemsCreatedHandler(event);
 
-            completeSetup();
-        }
-
-        /**
-		 *  complete setup
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion FlexJS 0.8
-		 */
-        override protected function completeSetup():void
-        {
             selectTabBarButton();
         }
 


Mime
View raw message