利用者向け情報

開発者向け情報

[sandbox.akabana]/trunk/yui-frameworks/yui-framework/src/main/flex/jp/akb7/yui/core/YuiFrameworkController.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1482 by e1arkw, Tue Feb 15 18:04:33 2011 JST revision 1485 by e1arkw, Wed Feb 16 12:10:16 2011 JST
# Line 44  package org.seasar.akabana.yui.framework Line 44  package org.seasar.akabana.yui.framework
44      import org.seasar.akabana.yui.core.ns.yui_internal;      import org.seasar.akabana.yui.core.ns.yui_internal;
45    
46      import org.seasar.akabana.yui.framework.YuiFrameworkGlobals;      import org.seasar.akabana.yui.framework.YuiFrameworkGlobals;
47      import org.seasar.akabana.yui.framework.event.FrameworkEvent;      import org.seasar.akabana.yui.framework.event.YuiFrameworkEvent;
48      import org.seasar.akabana.yui.framework.customizer.IComponentCustomizer;      import org.seasar.akabana.yui.framework.customizer.IComponentCustomizer;
49      import org.seasar.akabana.yui.framework.customizer.IViewCustomizer;      import org.seasar.akabana.yui.framework.customizer.IViewCustomizer;
50      import org.seasar.akabana.yui.framework.customizer.IElementCustomizer;      import org.seasar.akabana.yui.framework.customizer.IElementCustomizer;
# Line 257  package org.seasar.akabana.yui.framework Line 257  package org.seasar.akabana.yui.framework
257              super.processApplicationStart();              super.processApplicationStart();
258    
259              var allView:Dictionary = ViewComponentRepository.allView;              var allView:Dictionary = ViewComponentRepository.allView;
260              var fevent:FrameworkEvent;              var fevent:YuiFrameworkEvent;
261              for each (var view:UIComponent in allView)              for each (var view:UIComponent in allView)
262              {              {
263                  if( view === rootView ){                  if( view === rootView ){
264                      continue;                      continue;
265                  }                  }
266                  if( view.hasEventListener(FrameworkEvent.APPLICATION_START)){                  if( view.hasEventListener(YuiFrameworkEvent.APPLICATION_START)){
267                      fevent = new FrameworkEvent(FrameworkEvent.APPLICATION_START);                      fevent = new YuiFrameworkEvent(YuiFrameworkEvent.APPLICATION_START);
268                      view.dispatchEvent( fevent );                      view.dispatchEvent( fevent );
269                  }                  }
270              }              }

Legend:
Removed from v.1482  
changed lines
  Added in v.1485

Repository Top
ViewVC Help  
ViewVC logotype
Powered by ViewVC