| 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; |
| 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 |
} |
} |